Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 195 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5586, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1471/0.7057, allocations: 154.5 MB / 1.168 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.7188, allocations: 10.53 MB / 1.179 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/0.7197, allocations: 19.94 kB / 1.179 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009272/0.7206, allocations: 289.6 kB / 1.179 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.7234, allocations: 0.9622 MB / 1.18 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.726, allocations: 1.085 MB / 1.181 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001903/0.7279, allocations: 1.71 MB / 1.183 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.7296, allocations: 1.142 MB / 1.184 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.7314, allocations: 0.7244 MB / 1.184 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008666/0.7323, allocations: 0.6185 MB / 1.185 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003059/0.7326, allocations: 132 kB / 1.185 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.7346, allocations: 0.9948 MB / 1.186 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.735, allocations: 390.8 kB / 1.186 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007564/0.7357, allocations: 0.6801 MB / 1.187 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.7386, allocations: 2.189 MB / 1.189 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7386, allocations: 4 kB / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7386, allocations: 0 / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.697e-05/0.7386, allocations: 0 / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003242/0.7419, allocations: 1.73 MB / 1.191 GB, free: 24 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.7419, allocations: 8.031 kB / 1.191 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.7421, allocations: 156.1 kB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.7438, allocations: 270.1 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.7451, allocations: 1.066 MB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.7452, allocations: 74 kB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.7453, allocations: 88 kB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.7472, allocations: 1.11 MB / 1.194 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.7472, allocations: 0 / 1.194 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.7473, allocations: 40 kB / 1.194 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.7474, allocations: 24 kB / 1.194 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.7496, allocations: 1.319 MB / 1.195 GB, free: 11.79 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004971/0.7546, allocations: 3.508 MB / 1.198 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.7566, allocations: 1.098 MB / 1.199 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007723/0.7574, allocations: 420.8 kB / 1.2 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.7576, allocations: 142 kB / 1.2 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.7587, allocations: 0.6177 MB / 1.201 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 2.415e-06/0.7587, allocations: 0 / 1.201 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.004198/0.7629, allocations: 1.631 MB / 1.202 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.763, allocations: 196.9 kB / 1.202 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.7642, allocations: 1.021 MB / 1.203 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.775e-05/0.7643, allocations: 49.7 kB / 1.203 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.7646, allocations: 472.5 kB / 1.204 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.7649, allocations: 307.5 kB / 1.204 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.7651, allocations: 166.5 kB / 1.204 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.7652, allocations: 342 kB / 1.205 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.766, allocations: 333.8 kB / 1.205 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008192/0.7668, allocations: 473 kB / 1.205 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.7683, allocations: 0.7687 MB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7683, allocations: 0 / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002512/0.7708, allocations: 1.048 MB / 1.207 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7709, allocations: 4 kB / 1.207 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.7709, allocations: 3.938 kB / 1.207 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007489/0.7716, allocations: 113.7 kB / 1.207 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/0.7725, allocations: 191.8 kB / 1.208 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/0.7755, allocations: 3.069 MB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008762/0.7764, allocations: 108.8 kB / 1.211 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.7765, allocations: 43.91 kB / 1.211 GB, free: 11.03 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004567/0.7769, allocations: 301.5 kB / 1.211 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.7772, allocations: 106.8 kB / 1.211 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.7802, allocations: 1.314 MB / 1.212 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.7802, allocations: 16 kB / 1.212 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7802, allocations: 3.984 kB / 1.212 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7802, allocations: 3.984 kB / 1.212 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00409/0.7843, allocations: 2.449 MB / 1.215 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.7843, allocations: 3.984 kB / 1.215 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/0.7852, allocations: 187.8 kB / 1.215 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005811/0.7858, allocations: 105.6 kB / 1.215 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.7858, allocations: 31.97 kB / 1.215 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.7886, allocations: 3.092 MB / 1.218 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7886, allocations: 4.031 kB / 1.218 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.7912, allocations: 1.231 MB / 1.219 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.7917, allocations: 331.3 kB / 1.22 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.7919, allocations: 20 kB / 1.22 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008774/0.7928, allocations: 80.64 kB / 1.22 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.7929, allocations: 88.75 kB / 1.22 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/0.793, allocations: 47.97 kB / 1.22 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008652/0.7939, allocations: 0.7489 MB / 1.221 GB, free: 484 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7939, allocations: 0 / 1.221 GB, free: 484 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001116/0.795, allocations: 451.1 kB / 1.221 GB, free: 32 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004755/0.7998, allocations: 2.4 MB / 1.223 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003072/0.8029, allocations: 1.357 MB / 1.225 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.8029, allocations: 0 / 1.225 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.8042, allocations: 0.7372 MB / 1.225 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.8058, allocations: 356.2 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.8192, allocations: 8.677 MB / 1.234 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/0.8199, allocations: 1.11 MB / 1.235 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001122/0.821, allocations: 319.8 kB / 1.236 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.8217, allocations: 467.2 kB / 1.236 GB, free: 476 kB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.8217, allocations: 4 kB / 1.236 GB, free: 472 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4503/1.272, allocations: 27.99 MB / 1.263 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.82, allocations: 11.69 kB / 1.263 GB, free: 231.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[502]=86400.000000 File[27]=1002.240000 Error: Could not read variable winDir.y in file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! " Variables in the reference:time,winDir.y,nor.pWin,weaDat.winSpe Variables in the result:time,nor.CpAct,nor.alpha,nor.pWin,weaDat.weaBus.HDifHor,weaDat.weaBus.HDirNor