Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_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_10_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.89 kB / 1.057 GB, free: 2.012 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3225, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.8701/1.193, allocations: 162.9 MB / 1.373 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005423/1.198, allocations: 2.922 MB / 1.376 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/1.199, allocations: 23.31 kB / 1.376 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000801/1.2, allocations: 215.6 kB / 1.376 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002335/1.202, allocations: 0.795 MB / 1.377 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/1.203, allocations: 349.3 kB / 1.377 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001605/1.205, allocations: 0.9437 MB / 1.378 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/1.205, allocations: 213.7 kB / 1.378 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007406/1.206, allocations: 354.7 kB / 1.379 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/1.207, allocations: 297.8 kB / 1.379 GB, free: 11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.405e-05/1.207, allocations: 36.69 kB / 1.379 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/1.208, allocations: 0.6916 MB / 1.38 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/1.209, allocations: 136.4 kB / 1.38 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002982/1.209, allocations: 216.9 kB / 1.38 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/1.21, allocations: 0.7573 MB / 1.381 GB, free: 10.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.21, allocations: 0 / 1.381 GB, free: 10.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/1.21, allocations: 0 / 1.381 GB, free: 10.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.21, allocations: 1.094 kB / 1.381 GB, free: 10.26 MB / 1.061 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.001351/1.212, allocations: 0.7283 MB / 1.382 GB, free: 9.672 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.212, allocations: 9.5 kB / 1.382 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.213, allocations: 136 kB / 1.382 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/1.214, allocations: 425.8 kB / 1.382 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/1.214, allocations: 23.16 kB / 1.382 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/1.214, allocations: 23.22 kB / 1.382 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/1.214, allocations: 278.5 kB / 1.382 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/1.214, allocations: 0 / 1.382 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/1.214, allocations: 6.625 kB / 1.382 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/1.214, allocations: 11.31 kB / 1.382 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/1.215, allocations: 203.1 kB / 1.383 GB, free: 9.059 MB / 1.061 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.002033/1.217, allocations: 1.322 MB / 1.384 GB, free: 7.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/1.217, allocations: 182.1 kB / 1.384 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/1.217, allocations: 89.31 kB / 1.384 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/1.217, allocations: 2.156 kB / 1.384 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.217, allocations: 33.12 kB / 1.384 GB, free: 7.629 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/1.217, allocations: 4 kB / 1.384 GB, free: 7.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001053/1.219, allocations: 403.3 kB / 1.385 GB, free: 7.352 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/1.219, allocations: 57.75 kB / 1.385 GB, free: 7.285 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/1.219, allocations: 302.4 kB / 1.385 GB, free: 7.086 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/1.219, allocations: 30.64 kB / 1.385 GB, free: 7.051 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/1.219, allocations: 198.2 kB / 1.385 GB, free: 6.871 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/1.219, allocations: 76.03 kB / 1.385 GB, free: 6.805 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/1.219, allocations: 41.58 kB / 1.385 GB, free: 6.773 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.219, allocations: 338.8 kB / 1.386 GB, free: 6.441 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/1.22, allocations: 62.22 kB / 1.386 GB, free: 6.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/1.22, allocations: 127.5 kB / 1.386 GB, free: 6.305 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/1.22, allocations: 198.9 kB / 1.386 GB, free: 6.164 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.22, allocations: 1.188 kB / 1.386 GB, free: 6.164 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004219/1.221, allocations: 244.2 kB / 1.386 GB, free: 6.027 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.221, allocations: 12.56 kB / 1.386 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.221, allocations: 1.969 kB / 1.386 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.221, allocations: 6.766 kB / 1.386 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/1.221, allocations: 47.02 kB / 1.386 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.221, allocations: 7.5 kB / 1.386 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/1.221, allocations: 12.73 kB / 1.386 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/1.221, allocations: 10.44 kB / 1.386 GB, free: 5.992 MB / 1.061 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.0001967/1.221, allocations: 158.5 kB / 1.386 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/1.221, allocations: 35.56 kB / 1.386 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.189e-05/1.221, allocations: 39.02 kB / 1.387 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.221, allocations: 2.406 kB / 1.387 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.221, allocations: 1.281 kB / 1.387 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.221, allocations: 0 / 1.387 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/1.222, allocations: 409.7 kB / 1.387 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.222, allocations: 0.625 kB / 1.387 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/1.222, allocations: 38.08 kB / 1.387 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/1.223, allocations: 42.8 kB / 1.387 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/1.223, allocations: 6.5 kB / 1.387 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/1.224, allocations: 1.514 MB / 1.388 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.224, allocations: 1.125 kB / 1.388 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/1.225, allocations: 400 kB / 1.389 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/1.225, allocations: 130.4 kB / 1.389 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/1.225, allocations: 10.25 kB / 1.389 GB, free: 3.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/1.225, allocations: 6.219 kB / 1.389 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/1.225, allocations: 14.42 kB / 1.389 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/1.225, allocations: 13.64 kB / 1.389 GB, free: 3.422 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000258/1.225, allocations: 211.6 kB / 1.389 GB, free: 3.285 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.225, allocations: 4 kB / 1.389 GB, free: 3.281 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004807/1.226, allocations: 108.3 kB / 1.389 GB, free: 3.262 MB / 1.061 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.000207/1.226, allocations: 117.8 kB / 1.389 GB, free: 3.164 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003427/1.226, allocations: 154.4 kB / 1.39 GB, free: 3.098 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.226, allocations: 0 / 1.39 GB, free: 3.098 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/1.227, allocations: 201.4 kB / 1.39 GB, free: 2.938 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/1.228, allocations: 201 kB / 1.39 GB, free: 2.844 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/1.229, allocations: 0.7752 MB / 1.391 GB, free: 2.285 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/1.23, allocations: 0.7915 MB / 1.392 GB, free: 1.535 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/1.23, allocations: 27.78 kB / 1.392 GB, free: 1.527 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/1.23, allocations: 0 / 1.392 GB, free: 1.527 MB / 1.061 GB Notification: Performance of Templates: time 0.01065/1.24, allocations: 5.782 MB / 1.397 GB, free: 14.51 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.641642030095682]