Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001886/0.001886, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002286/0.002286, allocations: 157.4 kB / 23.01 MB, free: 4.602 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.736/2.736, allocations: 377.9 MB / 0.6228 GB, free: 12.7 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1") [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.002102/0.002102, allocations: 63.91 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9912/0.9933, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1894/1.183, allocations: 143.1 MB / 1.294 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005422/1.188, allocations: 2.734 MB / 1.296 GB, free: 15.05 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006219/1.189, allocations: 23.06 kB / 1.296 GB, free: 15.04 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007981/1.19, allocations: 196.4 kB / 1.297 GB, free: 14.93 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/1.192, allocations: 0.8195 MB / 1.297 GB, free: 14.48 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009584/1.193, allocations: 355.2 kB / 1.298 GB, free: 14.29 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001425/1.194, allocations: 0.9603 MB / 1.299 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/1.195, allocations: 210.7 kB / 1.299 GB, free: 13.74 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007227/1.195, allocations: 391.2 kB / 1.299 GB, free: 13.57 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009312/1.196, allocations: 295.4 kB / 1.299 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/1.196, allocations: 36.94 kB / 1.3 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/1.198, allocations: 0.526 MB / 1.3 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/1.198, allocations: 138.7 kB / 1.3 GB, free: 13.2 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/1.198, allocations: 174 kB / 1.3 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/1.199, allocations: 0.7389 MB / 1.301 GB, free: 12.67 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.199, allocations: 0 / 1.301 GB, free: 12.67 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.393e-06/1.199, allocations: 5.25 kB / 1.301 GB, free: 12.66 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.383e-06/1.199, allocations: 0 / 1.301 GB, free: 12.66 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001179/1.2, allocations: 0.6506 MB / 1.302 GB, free: 12.12 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.2, allocations: 9.625 kB / 1.302 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.201, allocations: 143.6 kB / 1.302 GB, free: 12.06 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006913/1.202, allocations: 362.5 kB / 1.302 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/1.202, allocations: 22.56 kB / 1.302 GB, free: 11.74 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/1.202, allocations: 28.94 kB / 1.302 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/1.203, allocations: 375.9 kB / 1.303 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/1.203, allocations: 1 kB / 1.303 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/1.203, allocations: 10.72 kB / 1.303 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/1.203, allocations: 8.906 kB / 1.303 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/1.203, allocations: 192.5 kB / 1.303 GB, free: 11.33 MB / 1.154 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.001577/1.205, allocations: 0.7994 MB / 1.304 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/1.205, allocations: 189.9 kB / 1.304 GB, free: 10.6 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/1.205, allocations: 88.64 kB / 1.304 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/1.205, allocations: 2.031 kB / 1.304 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.205, allocations: 37.97 kB / 1.304 GB, free: 10.5 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/1.205, allocations: 0 / 1.304 GB, free: 10.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001052/1.206, allocations: 323.1 kB / 1.304 GB, free: 10.32 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/1.207, allocations: 53.72 kB / 1.304 GB, free: 10.26 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/1.207, allocations: 298.5 kB / 1.305 GB, free: 10.07 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/1.207, allocations: 30.83 kB / 1.305 GB, free: 10.03 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.207, allocations: 195.5 kB / 1.305 GB, free: 9.852 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.207, allocations: 84.14 kB / 1.305 GB, free: 9.777 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/1.207, allocations: 45.55 kB / 1.305 GB, free: 9.742 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002155/1.208, allocations: 338.3 kB / 1.305 GB, free: 9.41 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/1.208, allocations: 62.06 kB / 1.305 GB, free: 9.379 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/1.208, allocations: 115.8 kB / 1.305 GB, free: 9.285 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/1.208, allocations: 199.8 kB / 1.306 GB, free: 9.145 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.208, allocations: 5.078 kB / 1.306 GB, free: 9.141 MB / 1.154 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004653/1.209, allocations: 240.6 kB / 1.306 GB, free: 9.008 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.209, allocations: 10.36 kB / 1.306 GB, free: 9.004 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.209, allocations: 9.344 kB / 1.306 GB, free: 8.996 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/1.209, allocations: 2.781 kB / 1.306 GB, free: 8.996 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/1.209, allocations: 43.02 kB / 1.306 GB, free: 8.988 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.209, allocations: 3.312 kB / 1.306 GB, free: 8.988 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/1.209, allocations: 19.59 kB / 1.306 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/1.209, allocations: 6.438 kB / 1.306 GB, free: 8.973 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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 0.0002074/1.21, allocations: 166.4 kB / 1.306 GB, free: 8.824 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/1.21, allocations: 27.2 kB / 1.306 GB, free: 8.812 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/1.21, allocations: 38.05 kB / 1.306 GB, free: 8.781 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.21, allocations: 2.406 kB / 1.306 GB, free: 8.781 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.21, allocations: 9.344 kB / 1.306 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.21, allocations: 0 / 1.306 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/1.21, allocations: 283.8 kB / 1.306 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.21, allocations: 0 / 1.306 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/1.21, allocations: 29.89 kB / 1.306 GB, free: 8.539 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/1.211, allocations: 38.67 kB / 1.306 GB, free: 8.516 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/1.211, allocations: 6.156 kB / 1.306 GB, free: 8.512 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/1.212, allocations: 1.397 MB / 1.308 GB, free: 7.141 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.212, allocations: 1.125 kB / 1.308 GB, free: 7.141 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/1.213, allocations: 400 kB / 1.308 GB, free: 6.863 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.213, allocations: 50.42 kB / 1.308 GB, free: 6.828 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/1.213, allocations: 6 kB / 1.308 GB, free: 6.824 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/1.213, allocations: 6.062 kB / 1.308 GB, free: 6.82 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/1.213, allocations: 21.5 kB / 1.308 GB, free: 6.805 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/1.213, allocations: 3.844 kB / 1.308 GB, free: 6.805 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002351/1.214, allocations: 213.8 kB / 1.308 GB, free: 6.664 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.214, allocations: 0 / 1.308 GB, free: 6.664 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004538/1.214, allocations: 112.4 kB / 1.309 GB, free: 6.641 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001979/1.214, allocations: 121.8 kB / 1.309 GB, free: 6.535 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003115/1.215, allocations: 155 kB / 1.309 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.215, allocations: 0 / 1.309 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/1.215, allocations: 201.8 kB / 1.309 GB, free: 6.309 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009605/1.216, allocations: 185.9 kB / 1.309 GB, free: 6.215 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/1.217, allocations: 0.7345 MB / 1.31 GB, free: 5.684 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/1.217, allocations: 191.6 kB / 1.31 GB, free: 5.547 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002148/1.218, allocations: 65.02 kB / 1.31 GB, free: 5.516 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/1.218, allocations: 30.78 kB / 1.31 GB, free: 5.504 MB / 1.154 GB Notification: Performance of SimCode: time 4.41e-07/1.218, allocations: 0 / 1.31 GB, free: 5.504 MB / 1.154 GB Notification: Performance of Templates: time 0.0135/1.231, allocations: 6.431 MB / 1.316 GB, free: 1.965 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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: 9.272054660948925]