Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.005613/0.005613, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001204/0.001204, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 62.45 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2861, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1799/0.4661, allocations: 167.1 MB / 1.251 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.707/1.173, allocations: 16.91 MB / 1.267 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/1.175, allocations: 31.12 kB / 1.267 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/1.177, allocations: 0.505 MB / 1.268 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004688/1.181, allocations: 1.513 MB / 1.269 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/1.185, allocations: 1.311 MB / 1.27 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003999/1.189, allocations: 2.498 MB / 1.273 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003795/1.193, allocations: 1.935 MB / 1.275 GB, free: 3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/1.198, allocations: 1.335 MB / 1.276 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/1.2, allocations: 0.9525 MB / 1.277 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007161/1.201, allocations: 207.9 kB / 1.277 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00409/1.205, allocations: 1.425 MB / 1.279 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007612/1.206, allocations: 0.5559 MB / 1.279 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/1.207, allocations: 0.998 MB / 1.28 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005616/1.213, allocations: 3.039 MB / 1.283 GB, free: 2.547 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.213, allocations: 6.547 kB / 1.283 GB, free: 2.547 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.485e-06/1.213, allocations: 0 / 1.283 GB, free: 2.547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.255e-05/1.213, allocations: 0.9375 kB / 1.283 GB, free: 2.547 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005309/1.218, allocations: 2.262 MB / 1.285 GB, free: 1.473 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.218, allocations: 9.25 kB / 1.285 GB, free: 1.473 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003489/1.219, allocations: 248 kB / 1.286 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/1.223, allocations: 0.5037 MB / 1.286 GB, free: 1.324 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/1.225, allocations: 1.13 MB / 1.287 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/1.225, allocations: 133.4 kB / 1.287 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/1.225, allocations: 167.8 kB / 1.287 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003676/1.229, allocations: 1.839 MB / 1.289 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/1.229, allocations: 0 / 1.289 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/1.229, allocations: 79.64 kB / 1.289 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/1.229, allocations: 42.22 kB / 1.289 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003576/1.233, allocations: 1.873 MB / 1.291 GB, free: 0.7422 MB / 1.014 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.008531/1.241, allocations: 5.127 MB / 1.296 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/1.244, allocations: 1.762 MB / 1.298 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/1.245, allocations: 0.6489 MB / 1.298 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000979/1.246, allocations: 0.8126 MB / 1.299 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/1.248, allocations: 0.8861 MB / 1.3 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.036e-06/1.248, allocations: 1.156 kB / 1.3 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.00645/1.255, allocations: 2.553 MB / 1.303 GB, free: 12.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.255, allocations: 204 kB / 1.303 GB, free: 12.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.256, allocations: 0.826 MB / 1.304 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/1.256, allocations: 58.58 kB / 1.304 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/1.257, allocations: 0.6467 MB / 1.304 GB, free: 12.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/1.257, allocations: 485.6 kB / 1.305 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/1.258, allocations: 238.4 kB / 1.305 GB, free: 11.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.258, allocations: 364.2 kB / 1.305 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009496/1.259, allocations: 473 kB / 1.306 GB, free: 11.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.26, allocations: 0.635 MB / 1.306 GB, free: 11.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/1.262, allocations: 1.096 MB / 1.308 GB, free: 11.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.262, allocations: 0 / 1.308 GB, free: 11.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003561/1.265, allocations: 1.499 MB / 1.309 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.265, allocations: 9.25 kB / 1.309 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.266, allocations: 2.062 kB / 1.309 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009653/1.266, allocations: 187.7 kB / 1.309 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.268, allocations: 331.6 kB / 1.309 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/1.274, allocations: 7.276 MB / 1.317 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.275, allocations: 155 kB / 1.317 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.275, allocations: 47.34 kB / 1.317 GB, free: 4.359 MB / 1.029 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008692/1.276, allocations: 387.2 kB / 1.317 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/1.276, allocations: 132.7 kB / 1.317 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/1.28, allocations: 1.847 MB / 1.319 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.281, allocations: 16.53 kB / 1.319 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.281, allocations: 1.375 kB / 1.319 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.281, allocations: 5.578 kB / 1.319 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/1.286, allocations: 3.451 MB / 1.322 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.286, allocations: 7.031 kB / 1.322 GB, free: 3.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.288, allocations: 311.7 kB / 1.323 GB, free: 3.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007297/1.289, allocations: 180.4 kB / 1.323 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/1.289, allocations: 39.86 kB / 1.323 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005291/1.294, allocations: 7.318 MB / 1.33 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.294, allocations: 7.906 kB / 1.33 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/1.298, allocations: 1.708 MB / 1.332 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009077/1.299, allocations: 400.6 kB / 1.332 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/1.299, allocations: 30.06 kB / 1.332 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.3, allocations: 103.4 kB / 1.332 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/1.3, allocations: 113.7 kB / 1.332 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.3, allocations: 73.47 kB / 1.332 GB, free: 12.25 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008122/1.301, allocations: 0.5824 MB / 1.333 GB, free: 12 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/1.301, allocations: 0 / 1.333 GB, free: 12 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001769/1.303, allocations: 0.5721 MB / 1.334 GB, free: 11.84 MB / 1.045 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.005327/1.308, allocations: 2.888 MB / 1.336 GB, free: 10.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003343/1.312, allocations: 1.842 MB / 1.338 GB, free: 9.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.312, allocations: 0.5625 kB / 1.338 GB, free: 9.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/1.314, allocations: 1.31 MB / 1.34 GB, free: 8.645 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/1.316, allocations: 0.5016 MB / 1.34 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.333, allocations: 10.03 MB / 1.35 GB, free: 3.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/1.334, allocations: 1.293 MB / 1.351 GB, free: 3.062 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001634/1.336, allocations: 441.1 kB / 1.351 GB, free: 2.918 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.337, allocations: 0.6448 MB / 1.352 GB, free: 2.445 MB / 1.045 GB Notification: Performance of SimCode: time 8.62e-07/1.337, allocations: 0 / 1.352 GB, free: 2.445 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07885/1.416, allocations: 37.42 MB / 1.389 GB, free: 10.56 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.46, allocations: 7.922 kB / 1.389 GB, free: 10.55 MB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches