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.001331/0.001331, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001478/0.001478, allocations: 211.6 kB / 22.99 MB, free: 4.984 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.002963/0.002963, allocations: 75.55 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3344, allocations: 176.1 MB / 1.327 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2268/0.5612, allocations: 135.9 MB / 1.46 GB, free: 8.711 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02773/0.589, allocations: 9.943 MB / 1.469 GB, free: 14.74 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.5902, allocations: 31.75 kB / 1.47 GB, free: 14.71 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.5917, allocations: 281.7 kB / 1.47 GB, free: 14.43 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005284/0.597, allocations: 1.008 MB / 1.471 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/0.6023, allocations: 1.123 MB / 1.472 GB, free: 12.31 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003581/0.6059, allocations: 1.744 MB / 1.474 GB, free: 10.56 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.6081, allocations: 0.9398 MB / 1.474 GB, free: 9.586 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.611, allocations: 0.7629 MB / 1.475 GB, free: 8.832 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.6124, allocations: 0.632 MB / 1.476 GB, free: 8.199 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.6127, allocations: 136 kB / 1.476 GB, free: 8.066 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.6163, allocations: 1.053 MB / 1.477 GB, free: 7.012 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005931/0.6169, allocations: 390.8 kB / 1.477 GB, free: 6.629 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009258/0.6179, allocations: 0.5443 MB / 1.478 GB, free: 6.082 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004779/0.6226, allocations: 2.273 MB / 1.48 GB, free: 3.801 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6226, allocations: 4 kB / 1.48 GB, free: 3.797 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6226, allocations: 0 / 1.48 GB, free: 3.797 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.6227, allocations: 0 / 1.48 GB, free: 3.797 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004086/0.6267, allocations: 1.711 MB / 1.482 GB, free: 2.051 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.6268, allocations: 8.031 kB / 1.482 GB, free: 2.043 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.6291, allocations: 318.8 kB / 1.482 GB, free: 1.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.6307, allocations: 0.8615 MB / 1.483 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.6308, allocations: 70 kB / 1.483 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.631, allocations: 99.98 kB / 1.483 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.6334, allocations: 1.486 MB / 1.485 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.6334, allocations: 4 kB / 1.485 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.6336, allocations: 40 kB / 1.485 GB, free: 15.01 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.6336, allocations: 24 kB / 1.485 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.636, allocations: 1.276 MB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/0.6414, allocations: 2.564 MB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.6434, allocations: 0.9769 MB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.6442, allocations: 384.8 kB / 1.49 GB, free: 9.727 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.6444, allocations: 56.91 kB / 1.49 GB, free: 9.672 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.6458, allocations: 0.8474 MB / 1.491 GB, free: 8.75 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 2.986e-06/0.6458, allocations: 0 / 1.491 GB, free: 8.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.004383/0.6501, allocations: 1.485 MB / 1.492 GB, free: 7.254 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.6503, allocations: 192.9 kB / 1.492 GB, free: 7.023 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6513, allocations: 0.7664 MB / 1.493 GB, free: 6.25 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.141e-05/0.6514, allocations: 45.7 kB / 1.493 GB, free: 6.199 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.6519, allocations: 481.2 kB / 1.493 GB, free: 5.723 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.6522, allocations: 329.2 kB / 1.494 GB, free: 5.398 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.6525, allocations: 182.6 kB / 1.494 GB, free: 5.211 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.6527, allocations: 349.8 kB / 1.494 GB, free: 4.863 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.6535, allocations: 361.7 kB / 1.495 GB, free: 4.512 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.6545, allocations: 0.6711 MB / 1.495 GB, free: 3.77 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.6561, allocations: 0.7843 MB / 1.496 GB, free: 2.973 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6561, allocations: 0 / 1.496 GB, free: 2.973 MB / 1.186 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002757/0.6588, allocations: 1.084 MB / 1.497 GB, free: 1.879 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6589, allocations: 12 kB / 1.497 GB, free: 1.867 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6589, allocations: 0 / 1.497 GB, free: 1.867 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007978/0.6597, allocations: 117.6 kB / 1.497 GB, free: 1.746 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.6607, allocations: 207.7 kB / 1.497 GB, free: 1.543 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.6641, allocations: 2.809 MB / 1.5 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/0.6651, allocations: 112.2 kB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/0.6652, allocations: 44.05 kB / 1.5 GB, free: 14.37 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 (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.0005645/0.6658, allocations: 304.3 kB / 1.501 GB, free: 14.06 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.666, allocations: 107.3 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.6692, allocations: 1.31 MB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6693, allocations: 12 kB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.6693, allocations: 3.938 kB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.6693, allocations: 3.984 kB / 1.502 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/0.6737, allocations: 2.131 MB / 1.504 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6737, allocations: 0 / 1.504 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009043/0.6746, allocations: 191.7 kB / 1.504 GB, free: 10.24 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/0.6751, allocations: 105.6 kB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.6752, allocations: 27.98 kB / 1.504 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003169/0.6784, allocations: 2.833 MB / 1.507 GB, free: 7.062 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6784, allocations: 4.062 kB / 1.507 GB, free: 7.059 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.6812, allocations: 1.229 MB / 1.508 GB, free: 5.805 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.6818, allocations: 254.8 kB / 1.509 GB, free: 5.555 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.6819, allocations: 20 kB / 1.509 GB, free: 5.535 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/0.6828, allocations: 79.91 kB / 1.509 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.683, allocations: 84.84 kB / 1.509 GB, free: 5.375 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.6831, allocations: 43.97 kB / 1.509 GB, free: 5.332 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007716/0.6839, allocations: 0.542 MB / 1.509 GB, free: 4.793 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6839, allocations: 0 / 1.509 GB, free: 4.793 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001283/0.6852, allocations: 470.8 kB / 1.51 GB, free: 4.332 MB / 1.201 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.002375/0.6875, allocations: 0.7414 MB / 1.511 GB, free: 3.797 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00239/0.6899, allocations: 1.103 MB / 1.512 GB, free: 2.668 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.6899, allocations: 3.859 kB / 1.512 GB, free: 2.664 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.6913, allocations: 0.7059 MB / 1.512 GB, free: 1.934 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.6927, allocations: 354.2 kB / 1.513 GB, free: 1.609 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.6966, allocations: 2.071 MB / 1.515 GB, free: 15.52 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.6972, allocations: 0.5125 MB / 1.515 GB, free: 14.97 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009805/0.6982, allocations: 307.3 kB / 1.515 GB, free: 14.67 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.6985, allocations: 123.4 kB / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of SimCode: time 7.01e-07/0.6985, allocations: 0 / 1.516 GB, free: 14.55 MB / 1.217 GB Notification: Performance of Templates: time 0.03726/0.7358, allocations: 21.79 MB / 1.537 GB, free: 9.094 MB / 1.232 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 -s gbode -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/jenkins1/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: 9.846296674993937]