Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001402/0.001402, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.001423/0.001423, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.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 3.36/3.36, allocations: 0.4899 GB / 0.7915 GB, free: 33.33 MB / 0.6231 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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [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.003276/0.003276, allocations: 65.44 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3952, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.219/0.6141, allocations: 157.9 MB / 1.475 GB, free: 4.348 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.6314, allocations: 10.69 MB / 1.486 GB, free: 9.621 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.6326, allocations: 23.81 kB / 1.486 GB, free: 9.598 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.6337, allocations: 301.5 kB / 1.486 GB, free: 9.301 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.6369, allocations: 0.995 MB / 1.487 GB, free: 8.305 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.6399, allocations: 1.11 MB / 1.488 GB, free: 7.203 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002482/0.6424, allocations: 1.741 MB / 1.49 GB, free: 5.457 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.644, allocations: 0.9508 MB / 1.491 GB, free: 4.48 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.6461, allocations: 0.7532 MB / 1.492 GB, free: 3.738 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008995/0.647, allocations: 0.6457 MB / 1.492 GB, free: 3.09 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.6472, allocations: 136 kB / 1.492 GB, free: 2.957 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.6494, allocations: 1.081 MB / 1.493 GB, free: 1.875 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.6498, allocations: 394.8 kB / 1.494 GB, free: 1.488 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007363/0.6505, allocations: 0.6724 MB / 1.494 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.6543, allocations: 2.261 MB / 1.497 GB, free: 14.54 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.6543, allocations: 4 kB / 1.497 GB, free: 14.54 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6543, allocations: 0 / 1.497 GB, free: 14.54 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.6543, allocations: 3.938 kB / 1.497 GB, free: 14.54 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003653/0.658, allocations: 1.778 MB / 1.498 GB, free: 12.7 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.658, allocations: 15.98 kB / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.6603, allocations: 318.8 kB / 1.499 GB, free: 12.37 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.6619, allocations: 0.922 MB / 1.5 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.652e-05/0.662, allocations: 77.94 kB / 1.5 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.6621, allocations: 96 kB / 1.5 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.6643, allocations: 1.113 MB / 1.501 GB, free: 10.08 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.6644, allocations: 4 kB / 1.501 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.6645, allocations: 36 kB / 1.501 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.6645, allocations: 24 kB / 1.501 GB, free: 10.02 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.6669, allocations: 1.323 MB / 1.502 GB, free: 8.688 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006012/0.6729, allocations: 3.477 MB / 1.506 GB, free: 5.043 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.6751, allocations: 1.055 MB / 1.507 GB, free: 3.969 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008132/0.6759, allocations: 392 kB / 1.507 GB, free: 3.586 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.6762, allocations: 138 kB / 1.507 GB, free: 3.43 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.6775, allocations: 0.6215 MB / 1.508 GB, free: 2.793 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 3.266e-06/0.6775, allocations: 4 kB / 1.508 GB, free: 2.789 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.004605/0.6821, allocations: 1.632 MB / 1.509 GB, free: 1.105 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.6822, allocations: 200.9 kB / 1.51 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.6835, allocations: 0.8293 MB / 1.51 GB, free: 32 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.6836, allocations: 41.78 kB / 1.51 GB, free: 15.98 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.684, allocations: 477.2 kB / 1.511 GB, free: 15.51 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.6843, allocations: 329.1 kB / 1.511 GB, free: 15.19 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.6847, allocations: 182.6 kB / 1.511 GB, free: 15 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6848, allocations: 345.9 kB / 1.512 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/0.6856, allocations: 349.8 kB / 1.512 GB, free: 14.32 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009316/0.6865, allocations: 481.6 kB / 1.512 GB, free: 13.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.6881, allocations: 0.7843 MB / 1.513 GB, free: 13.03 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6881, allocations: 0 / 1.513 GB, free: 13.03 MB / 1.217 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00291/0.6911, allocations: 1.1 MB / 1.514 GB, free: 11.91 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6911, allocations: 4 kB / 1.514 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6911, allocations: 0 / 1.514 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007755/0.6919, allocations: 113.6 kB / 1.514 GB, free: 11.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009444/0.6928, allocations: 211.7 kB / 1.515 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.6964, allocations: 3.067 MB / 1.518 GB, free: 8.234 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.6976, allocations: 112.8 kB / 1.518 GB, free: 8.125 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.6977, allocations: 43.97 kB / 1.518 GB, free: 8.082 MB / 1.217 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007299/0.6984, allocations: 313.4 kB / 1.518 GB, free: 7.766 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.6989, allocations: 107.3 kB / 1.518 GB, free: 7.66 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.7023, allocations: 1.326 MB / 1.519 GB, free: 6.316 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.7023, allocations: 12 kB / 1.519 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7023, allocations: 0 / 1.519 GB, free: 6.305 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.7023, allocations: 3.984 kB / 1.519 GB, free: 6.301 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/0.7071, allocations: 2.439 MB / 1.522 GB, free: 3.801 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7071, allocations: 0 / 1.522 GB, free: 3.801 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/0.708, allocations: 191.7 kB / 1.522 GB, free: 3.613 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005949/0.7086, allocations: 105.6 kB / 1.522 GB, free: 3.504 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/0.7087, allocations: 27.92 kB / 1.522 GB, free: 3.477 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.712, allocations: 3.096 MB / 1.525 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.712, allocations: 0 / 1.525 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.7149, allocations: 1.241 MB / 1.526 GB, free: 14.83 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/0.7155, allocations: 320 kB / 1.527 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.7157, allocations: 27.98 kB / 1.527 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000918/0.7166, allocations: 73.95 kB / 1.527 GB, free: 14.4 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.7168, allocations: 88.75 kB / 1.527 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.7169, allocations: 43.97 kB / 1.527 GB, free: 14.27 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008917/0.7178, allocations: 0.5888 MB / 1.528 GB, free: 13.68 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7178, allocations: 0 / 1.528 GB, free: 13.68 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001357/0.7192, allocations: 462.9 kB / 1.528 GB, free: 13.23 MB / 1.232 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002402/0.7216, allocations: 0.7091 MB / 1.529 GB, free: 12.69 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002532/0.7241, allocations: 1.111 MB / 1.53 GB, free: 11.56 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.7241, allocations: 3.859 kB / 1.53 GB, free: 11.55 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.7255, allocations: 0.7021 MB / 1.53 GB, free: 10.83 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.7271, allocations: 355.9 kB / 1.531 GB, free: 10.5 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.7312, allocations: 2.057 MB / 1.533 GB, free: 8.418 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/0.7321, allocations: 1.114 MB / 1.534 GB, free: 7.266 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001167/0.7333, allocations: 315.8 kB / 1.534 GB, free: 6.953 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.7337, allocations: 123.4 kB / 1.534 GB, free: 6.836 MB / 1.232 GB Notification: Performance of SimCode: time 1.042e-06/0.7337, allocations: 0 / 1.534 GB, free: 6.836 MB / 1.232 GB Notification: Performance of Templates: time 0.03893/0.7726, allocations: 20.53 MB / 1.554 GB, free: 2.516 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.275016942992806]