Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 192.9 kB / 16.13 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.378/2.378, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 69.47 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002124/0.2301, allocations: 0.9479 MB / 1.053 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.2311, allocations: 0.8935 MB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2312, allocations: 4 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.2313, allocations: 7.875 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.2314, allocations: 7.922 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.2315, allocations: 51.95 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.2317, allocations: 131.7 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2319, allocations: 57.45 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.2319, allocations: 47.78 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.232, allocations: 55.69 kB / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.232, allocations: 12 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.2321, allocations: 8 kB / 1.054 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.2321, allocations: 31.89 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.2322, allocations: 51.67 kB / 1.054 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.2323, allocations: 131.5 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2323, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2323, allocations: 3.938 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2323, allocations: 0 / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005717/0.2329, allocations: 443.4 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2329, allocations: 11.97 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.233, allocations: 46.73 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.233, allocations: 16.75 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.2332, allocations: 212.1 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2332, allocations: 8.375 kB / 1.055 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2333, allocations: 16.36 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2336, allocations: 146.2 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2336, allocations: 3.938 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2336, allocations: 8 kB / 1.055 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2336, allocations: 4 kB / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.2339, allocations: 131.8 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006974/0.2346, allocations: 496 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.2348, allocations: 86.47 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2349, allocations: 48.78 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.235, allocations: 4.172 kB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.235, allocations: 42.5 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.235, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004248/0.2354, allocations: 153.5 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.2355, allocations: 51.41 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.2356, allocations: 191.5 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2357, allocations: 25.7 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.2357, allocations: 123.9 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.2358, allocations: 35.45 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.2358, allocations: 25.72 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.2359, allocations: 322.8 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.236, allocations: 43.97 kB / 1.057 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.2361, allocations: 43.97 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.2364, allocations: 99.94 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2364, allocations: 3.938 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002855/0.2367, allocations: 141.5 kB / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2367, allocations: 4 kB / 1.057 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2367, allocations: 3.938 kB / 1.057 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2367, allocations: 4 kB / 1.057 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.2369, allocations: 27.97 kB / 1.057 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2369, allocations: 4 kB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.237, allocations: 19.75 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.237, allocations: 4 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/0.2371, allocations: 130.2 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.2371, allocations: 11.91 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.2374, allocations: 135 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2375, allocations: 8 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2375, allocations: 0 / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2375, allocations: 0 / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.238, allocations: 452.8 kB / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2381, allocations: 0 / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.2382, allocations: 36.02 kB / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2382, allocations: 0 / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2382, allocations: 0 / 1.058 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.2382, allocations: 4 kB / 1.058 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2382, allocations: 3.938 kB / 1.058 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.2386, allocations: 245.8 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.2386, allocations: 96.91 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.2387, allocations: 4 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2388, allocations: 11.98 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.2388, allocations: 15.92 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.2389, allocations: 4 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001204/0.239, allocations: 153.1 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.239, allocations: 0 / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002429/0.2392, allocations: 24 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006884/0.2399, allocations: 0.7851 MB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.2402, allocations: 91.89 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2402, allocations: 0 / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.2404, allocations: 51.91 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2407, allocations: 26.17 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.2428, allocations: 1.899 MB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.243, allocations: 0.7122 MB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.788e-05/0.2431, allocations: 21.06 kB / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.2431, allocations: 39.36 kB / 1.062 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2431, allocations: 7.938 kB / 1.062 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.2543, allocations: 2.55 MB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.2545, allocations: 199.4 kB / 1.065 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.848, allocations: 0 / 1.065 GB, free: 10.59 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches