Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001349/0.001349, allocations: 81.86 kB / 19.76 MB, free: 2.027 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.00146/0.00146, allocations: 159.1 kB / 23.01 MB, free: 4.961 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.795/2.795, allocations: 377.9 MB / 0.6228 GB, free: 12.55 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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [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.002418/0.002418, allocations: 67.89 kB / 0.9819 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9548/0.9572, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2117/1.169, allocations: 148.2 MB / 1.299 GB, free: 13.5 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02477/1.194, allocations: 15.95 MB / 1.314 GB, free: 1.676 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/1.196, allocations: 41.12 kB / 1.314 GB, free: 1.652 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/1.197, allocations: 0.5353 MB / 1.315 GB, free: 1.199 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005606/1.203, allocations: 1.678 MB / 1.316 GB, free: 15.92 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/1.207, allocations: 1.353 MB / 1.318 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003868/1.21, allocations: 2.718 MB / 1.32 GB, free: 13.24 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003/1.213, allocations: 1.505 MB / 1.322 GB, free: 12.13 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00506/1.219, allocations: 1.454 MB / 1.323 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/1.221, allocations: 0.8982 MB / 1.324 GB, free: 10.3 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006992/1.221, allocations: 208 kB / 1.324 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/1.225, allocations: 1.298 MB / 1.326 GB, free: 8.793 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000884/1.226, allocations: 0.5646 MB / 1.326 GB, free: 8.227 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/1.227, allocations: 0.8633 MB / 1.327 GB, free: 7.359 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005491/1.233, allocations: 3.168 MB / 1.33 GB, free: 4.18 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.233, allocations: 3.984 kB / 1.33 GB, free: 4.176 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.623e-06/1.233, allocations: 0 / 1.33 GB, free: 4.176 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.803e-05/1.233, allocations: 0 / 1.33 GB, free: 4.176 MB / 1.17 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.004269/1.237, allocations: 2.294 MB / 1.332 GB, free: 1.832 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.237, allocations: 8.031 kB / 1.332 GB, free: 1.824 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00443/1.242, allocations: 0.5763 MB / 1.333 GB, free: 1.246 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/1.244, allocations: 1.057 MB / 1.334 GB, free: 164 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.244, allocations: 127.4 kB / 1.334 GB, free: 36 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/1.244, allocations: 164 kB / 1.334 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/1.248, allocations: 2.608 MB / 1.337 GB, free: 13.03 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/1.248, allocations: 3.938 kB / 1.337 GB, free: 13.03 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/1.248, allocations: 79.98 kB / 1.337 GB, free: 12.95 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/1.248, allocations: 40 kB / 1.337 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/1.252, allocations: 1.824 MB / 1.339 GB, free: 11.08 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00751/1.259, allocations: 3.715 MB / 1.342 GB, free: 7.297 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/1.262, allocations: 1.368 MB / 1.344 GB, free: 5.93 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/1.264, allocations: 0.5932 MB / 1.344 GB, free: 5.336 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/1.265, allocations: 173.1 kB / 1.344 GB, free: 5.168 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002329/1.267, allocations: 1.502 MB / 1.346 GB, free: 3.5 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 4.098e-06/1.267, allocations: 0 / 1.346 GB, free: 3.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.006597/1.273, allocations: 2.176 MB / 1.348 GB, free: 1.301 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/1.274, allocations: 201.2 kB / 1.348 GB, free: 1.062 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/1.275, allocations: 0.7552 MB / 1.349 GB, free: 304 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/1.275, allocations: 61.69 kB / 1.349 GB, free: 236 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007473/1.276, allocations: 0.6734 MB / 1.35 GB, free: 15.54 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005591/1.277, allocations: 0.4918 MB / 1.35 GB, free: 15.05 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/1.277, allocations: 258.8 kB / 1.35 GB, free: 14.79 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.277, allocations: 353.9 kB / 1.351 GB, free: 14.44 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.279, allocations: 498.3 kB / 1.351 GB, free: 13.95 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/1.28, allocations: 0.8721 MB / 1.352 GB, free: 13 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/1.283, allocations: 1.115 MB / 1.353 GB, free: 11.87 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.283, allocations: 0 / 1.353 GB, free: 11.87 MB / 1.201 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004255/1.287, allocations: 1.547 MB / 1.355 GB, free: 10.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.287, allocations: 12.09 kB / 1.355 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.287, allocations: 0 / 1.355 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.289, allocations: 200 kB / 1.355 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/1.29, allocations: 335.5 kB / 1.355 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008309/1.299, allocations: 6.644 MB / 1.362 GB, free: 2.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.3, allocations: 139.2 kB / 1.362 GB, free: 2.453 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/1.301, allocations: 59.95 kB / 1.362 GB, free: 2.395 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (156): * Single equations (assignments): 151 * 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.000984/1.302, allocations: 383.7 kB / 1.362 GB, free: 2.012 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/1.302, allocations: 135.2 kB / 1.362 GB, free: 1.879 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/1.307, allocations: 1.826 MB / 1.364 GB, free: 28 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.307, allocations: 16 kB / 1.364 GB, free: 12 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.307, allocations: 7.938 kB / 1.364 GB, free: 4 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.925e-05/1.307, allocations: 8.031 kB / 1.364 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007005/1.314, allocations: 3 MB / 1.367 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.314, allocations: 0 / 1.367 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.315, allocations: 315.6 kB / 1.367 GB, free: 12.63 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008232/1.316, allocations: 184.1 kB / 1.368 GB, free: 12.43 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.316, allocations: 47.89 kB / 1.368 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00694/1.323, allocations: 6.666 MB / 1.374 GB, free: 5.203 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.323, allocations: 7.875 kB / 1.374 GB, free: 5.195 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004545/1.328, allocations: 1.709 MB / 1.376 GB, free: 3.453 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009751/1.329, allocations: 314.6 kB / 1.376 GB, free: 3.145 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/1.329, allocations: 35.98 kB / 1.376 GB, free: 3.109 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.33, allocations: 98.88 kB / 1.376 GB, free: 3.016 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/1.331, allocations: 121.1 kB / 1.376 GB, free: 2.895 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.331, allocations: 72.09 kB / 1.376 GB, free: 2.824 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009092/1.332, allocations: 0.5263 MB / 1.377 GB, free: 2.305 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.332, allocations: 0 / 1.377 GB, free: 2.305 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001965/1.334, allocations: 0.6233 MB / 1.378 GB, free: 1.68 MB / 1.217 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.002663/1.336, allocations: 0.768 MB / 1.378 GB, free: 1.117 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004026/1.341, allocations: 1.813 MB / 1.38 GB, free: 15.24 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.341, allocations: 4.656 kB / 1.38 GB, free: 15.23 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002243/1.343, allocations: 1.254 MB / 1.381 GB, free: 13.92 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/1.345, allocations: 0.4913 MB / 1.382 GB, free: 13.45 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/1.352, allocations: 2.833 MB / 1.385 GB, free: 10.59 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.353, allocations: 0.7173 MB / 1.385 GB, free: 9.836 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002044/1.355, allocations: 433.7 kB / 1.386 GB, free: 9.41 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/1.356, allocations: 156.4 kB / 1.386 GB, free: 9.258 MB / 1.232 GB Notification: Performance of SimCode: time 1.633e-06/1.356, allocations: 0 / 1.386 GB, free: 9.258 MB / 1.232 GB Notification: Performance of Templates: time 0.05235/1.408, allocations: 27.42 MB / 1.413 GB, free: 14.34 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.661126661929302]