Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.001823/0.001823, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.002431/0.002431, allocations: 161.3 kB / 22.75 MB, free: 1.652 MB / 18.57 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.52/1.52, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.275/3.275, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.685e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2344/0.2344, allocations: 155.7 MB / 1.03 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.2531, allocations: 10.29 MB / 1.04 GB, free: 15.88 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.2543, allocations: 43.62 kB / 1.04 GB, free: 15.84 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.2558, allocations: 428.5 kB / 1.04 GB, free: 15.42 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.2595, allocations: 1.15 MB / 1.041 GB, free: 14.26 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004882/0.2644, allocations: 1.779 MB / 1.043 GB, free: 12.48 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003781/0.2682, allocations: 2.438 MB / 1.045 GB, free: 10.03 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.2704, allocations: 1.101 MB / 1.046 GB, free: 8.891 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005293/0.2757, allocations: 1.885 MB / 1.048 GB, free: 7.047 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.2772, allocations: 0.6855 MB / 1.049 GB, free: 6.359 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004351/0.2776, allocations: 164 kB / 1.049 GB, free: 6.199 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.2808, allocations: 1.286 MB / 1.05 GB, free: 4.91 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0008891/0.2816, allocations: 486.5 kB / 1.051 GB, free: 4.434 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.2831, allocations: 0.5495 MB / 1.051 GB, free: 3.883 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.2885, allocations: 2.8 MB / 1.054 GB, free: 1.074 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2885, allocations: 0 / 1.054 GB, free: 1.074 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2885, allocations: 4 kB / 1.054 GB, free: 1.07 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.981e-05/0.2886, allocations: 0 / 1.054 GB, free: 1.07 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.4799/0.7684, allocations: 1.886 MB / 1.056 GB, free: 221.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.7685, allocations: 9.531 kB / 1.056 GB, free: 221.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.7723, allocations: 0.5705 MB / 1.057 GB, free: 221.4 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.7748, allocations: 0.9616 MB / 1.057 GB, free: 220.9 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.7749, allocations: 93.7 kB / 1.058 GB, free: 220.9 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.7753, allocations: 132.7 kB / 1.058 GB, free: 220.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/0.7789, allocations: 1.695 MB / 1.059 GB, free: 219.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.7789, allocations: 3.938 kB / 1.059 GB, free: 219.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.7791, allocations: 54.14 kB / 1.059 GB, free: 219.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.7791, allocations: 32.08 kB / 1.059 GB, free: 219.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.7814, allocations: 1.409 MB / 1.061 GB, free: 219.4 MB / 1.01 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.005869/0.7872, allocations: 3.056 MB / 1.064 GB, free: 217.9 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.7892, allocations: 1.115 MB / 1.065 GB, free: 217.4 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007087/0.79, allocations: 430.8 kB / 1.065 GB, free: 217.3 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/0.7906, allocations: 122.9 kB / 1.065 GB, free: 217.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.7917, allocations: 0.8983 MB / 1.066 GB, free: 216.7 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 3.276e-06/0.7917, allocations: 96 / 1.066 GB, free: 216.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.004277/0.796, allocations: 1.611 MB / 1.068 GB, free: 216.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.7961, allocations: 207.9 kB / 1.068 GB, free: 215.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7973, allocations: 0.7503 MB / 1.069 GB, free: 215.6 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.7974, allocations: 53.58 kB / 1.069 GB, free: 215.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.7979, allocations: 0.5353 MB / 1.069 GB, free: 215.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.7982, allocations: 387.8 kB / 1.07 GB, free: 214.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.7986, allocations: 230.4 kB / 1.07 GB, free: 214.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.7987, allocations: 352.7 kB / 1.07 GB, free: 214.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007757/0.7994, allocations: 408.5 kB / 1.071 GB, free: 214.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009526/0.8004, allocations: 0.7082 MB / 1.071 GB, free: 213.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.8021, allocations: 0.9186 MB / 1.072 GB, free: 213.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.8021, allocations: 2.844 kB / 1.072 GB, free: 213.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002905/0.805, allocations: 1.281 MB / 1.074 GB, free: 213 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.805, allocations: 7.5 kB / 1.074 GB, free: 213 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.805, allocations: 2.906 kB / 1.074 GB, free: 213 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009872/0.806, allocations: 134.6 kB / 1.074 GB, free: 212.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.807, allocations: 241.5 kB / 1.074 GB, free: 212.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.8089, allocations: 1.518 MB / 1.075 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.81, allocations: 117.4 kB / 1.075 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.8102, allocations: 48.5 kB / 1.076 GB, free: 211.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (141): * Single equations (assignments): 140 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00068/0.8108, allocations: 340 kB / 1.076 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004204/0.8113, allocations: 154.8 kB / 1.076 GB, free: 211.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.8143, allocations: 1.521 MB / 1.077 GB, free: 210.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.8143, allocations: 11.97 kB / 1.077 GB, free: 210.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8144, allocations: 2.219 kB / 1.077 GB, free: 210.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8144, allocations: 6.609 kB / 1.078 GB, free: 210.6 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.005282/0.8196, allocations: 2.525 MB / 1.08 GB, free: 209.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.8197, allocations: 2.594 kB / 1.08 GB, free: 209.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009064/0.8206, allocations: 207.7 kB / 1.08 GB, free: 209.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007305/0.8213, allocations: 127.3 kB / 1.08 GB, free: 209.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.8214, allocations: 38.11 kB / 1.08 GB, free: 209.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.823, allocations: 1.54 MB / 1.082 GB, free: 208 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.823, allocations: 2.812 kB / 1.082 GB, free: 208 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.8264, allocations: 1.937 MB / 1.084 GB, free: 207.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006702/0.8271, allocations: 261.2 kB / 1.084 GB, free: 207 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/0.8274, allocations: 35.36 kB / 1.084 GB, free: 206.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009984/0.8284, allocations: 77.28 kB / 1.084 GB, free: 206.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.8286, allocations: 87.72 kB / 1.084 GB, free: 206.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8287, allocations: 50.08 kB / 1.084 GB, free: 206.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008717/0.8296, allocations: 0.532 MB / 1.085 GB, free: 206.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8296, allocations: 0 / 1.085 GB, free: 206.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001431/0.831, allocations: 0.4892 MB / 1.085 GB, free: 206.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002826/0.8339, allocations: 0.7497 MB / 1.086 GB, free: 206.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.8364, allocations: 1.108 MB / 1.087 GB, free: 205.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.8364, allocations: 1.094 kB / 1.087 GB, free: 205.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.8377, allocations: 0.6346 MB / 1.088 GB, free: 205.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.8398, allocations: 484 kB / 1.088 GB, free: 205.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.8448, allocations: 2.41 MB / 1.09 GB, free: 204.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008406/0.8457, allocations: 0.5861 MB / 1.091 GB, free: 204 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001444/0.8471, allocations: 353.9 kB / 1.091 GB, free: 203.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.8476, allocations: 137.1 kB / 1.092 GB, free: 203.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.8476, allocations: 0 / 1.092 GB, free: 203.9 MB / 1.01 GB Notification: Performance of Templates: time 0.04115/0.8888, allocations: 22.48 MB / 1.113 GB, free: 200.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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: 10.458366686943918]