Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 211.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476 MB / 0.7699 GB, free: 4.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 68.31 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1868/0.5169, allocations: 148.2 MB / 1.427 GB, free: 7.691 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.5422, allocations: 15.94 MB / 1.443 GB, free: 7.703 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.5437, allocations: 39.62 kB / 1.443 GB, free: 7.664 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.5455, allocations: 0.5389 MB / 1.443 GB, free: 7.121 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.5506, allocations: 1.673 MB / 1.445 GB, free: 5.445 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.5542, allocations: 1.354 MB / 1.446 GB, free: 4.102 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003467/0.5577, allocations: 2.731 MB / 1.449 GB, free: 1.359 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.5599, allocations: 1.508 MB / 1.45 GB, free: 15.8 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.564, allocations: 1.432 MB / 1.452 GB, free: 14.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.5653, allocations: 0.9176 MB / 1.453 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.5656, allocations: 208 kB / 1.453 GB, free: 13.28 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.5683, allocations: 1.295 MB / 1.454 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005367/0.5688, allocations: 0.5569 MB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000973/0.5698, allocations: 0.8594 MB / 1.456 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.5742, allocations: 3.176 MB / 1.459 GB, free: 7.375 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5742, allocations: 0 / 1.459 GB, free: 7.375 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5742, allocations: 0 / 1.459 GB, free: 7.375 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.549e-05/0.5742, allocations: 0 / 1.459 GB, free: 7.375 MB / 1.154 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.004287/0.5785, allocations: 2.302 MB / 1.461 GB, free: 5.023 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5785, allocations: 11.97 kB / 1.461 GB, free: 5.012 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003153/0.5789, allocations: 253 kB / 1.461 GB, free: 4.754 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.5832, allocations: 0.5724 MB / 1.462 GB, free: 4.18 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.5853, allocations: 1.057 MB / 1.463 GB, free: 3.09 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.5854, allocations: 131.4 kB / 1.463 GB, free: 2.961 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.5857, allocations: 160 kB / 1.463 GB, free: 2.805 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/0.5895, allocations: 2.608 MB / 1.466 GB, free: 15.96 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.5895, allocations: 0 / 1.466 GB, free: 15.96 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.5897, allocations: 68 kB / 1.466 GB, free: 15.89 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.5898, allocations: 44 kB / 1.466 GB, free: 15.85 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003525/0.5933, allocations: 1.824 MB / 1.468 GB, free: 14.02 MB / 1.17 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.008159/0.6014, allocations: 3.974 MB / 1.471 GB, free: 9.969 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.6045, allocations: 1.364 MB / 1.473 GB, free: 8.605 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.6058, allocations: 0.5973 MB / 1.473 GB, free: 8.008 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.6069, allocations: 173.1 kB / 1.473 GB, free: 7.84 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.609, allocations: 1.502 MB / 1.475 GB, free: 6.172 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.507e-06/0.609, allocations: 0 / 1.475 GB, free: 6.172 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.006436/0.6154, allocations: 2.18 MB / 1.477 GB, free: 3.969 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.6155, allocations: 205.2 kB / 1.477 GB, free: 3.727 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.6169, allocations: 0.8633 MB / 1.478 GB, free: 2.84 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.617, allocations: 57.64 kB / 1.478 GB, free: 2.777 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/0.6177, allocations: 0.6617 MB / 1.479 GB, free: 2.105 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/0.6182, allocations: 0.5034 MB / 1.479 GB, free: 1.598 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004256/0.6186, allocations: 238.8 kB / 1.48 GB, free: 1.359 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6188, allocations: 353.9 kB / 1.48 GB, free: 1.008 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.6199, allocations: 474.4 kB / 1.48 GB, free: 0.543 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.6212, allocations: 0.86 MB / 1.481 GB, free: 15.59 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.6236, allocations: 1.099 MB / 1.482 GB, free: 14.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6236, allocations: 0 / 1.482 GB, free: 14.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003693/0.6273, allocations: 1.507 MB / 1.484 GB, free: 12.95 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.6273, allocations: 7.984 kB / 1.484 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6273, allocations: 4 kB / 1.484 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009768/0.6283, allocations: 196.2 kB / 1.484 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.6298, allocations: 327.6 kB / 1.484 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/0.6364, allocations: 6.75 MB / 1.491 GB, free: 5.078 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.6377, allocations: 151.1 kB / 1.491 GB, free: 4.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.6379, allocations: 47.97 kB / 1.491 GB, free: 4.883 MB / 1.186 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.0008441/0.6387, allocations: 369.6 kB / 1.491 GB, free: 4.512 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.639, allocations: 147.1 kB / 1.492 GB, free: 4.367 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.6434, allocations: 1.843 MB / 1.493 GB, free: 2.5 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.6435, allocations: 16 kB / 1.493 GB, free: 2.484 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6435, allocations: 0 / 1.493 GB, free: 2.484 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.6435, allocations: 19.95 kB / 1.493 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006619/0.6501, allocations: 3.202 MB / 1.496 GB, free: 15.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6501, allocations: 0 / 1.496 GB, free: 15.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.6516, allocations: 319.5 kB / 1.497 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007799/0.6524, allocations: 172.2 kB / 1.497 GB, free: 14.69 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.6525, allocations: 47.95 kB / 1.497 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0063/0.6588, allocations: 6.791 MB / 1.504 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6588, allocations: 0 / 1.504 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/0.6628, allocations: 1.714 MB / 1.505 GB, free: 5.531 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/0.6638, allocations: 338.5 kB / 1.506 GB, free: 5.199 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.664, allocations: 32 kB / 1.506 GB, free: 5.168 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.6651, allocations: 101.3 kB / 1.506 GB, free: 5.074 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.6654, allocations: 117.1 kB / 1.506 GB, free: 4.957 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.6656, allocations: 75.94 kB / 1.506 GB, free: 4.883 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000937/0.6665, allocations: 0.5986 MB / 1.507 GB, free: 4.273 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6665, allocations: 0 / 1.507 GB, free: 4.273 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001614/0.6681, allocations: 0.6116 MB / 1.507 GB, free: 3.66 MB / 1.201 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.006519/0.6746, allocations: 2.929 MB / 1.51 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003505/0.6781, allocations: 1.781 MB / 1.512 GB, free: 15.06 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.6781, allocations: 0.6562 kB / 1.512 GB, free: 15.05 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.6802, allocations: 1.258 MB / 1.513 GB, free: 13.73 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.6825, allocations: 0.5154 MB / 1.513 GB, free: 13.23 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.7017, allocations: 10.04 MB / 1.523 GB, free: 3.016 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009239/0.7026, allocations: 0.7232 MB / 1.524 GB, free: 2.262 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001686/0.7043, allocations: 450.4 kB / 1.524 GB, free: 1.816 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.7053, allocations: 0.6554 MB / 1.525 GB, free: 1.16 MB / 1.217 GB Notification: Performance of SimCode: time 1.152e-06/0.7053, allocations: 0 / 1.525 GB, free: 1.16 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.8079, allocations: 40.93 MB / 1.565 GB, free: 8.812 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.01, allocations: 3.938 kB / 1.565 GB, free: 8.809 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.87655955320224]