Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001603/0.001603, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001851/0.001851, allocations: 186.3 kB / 22.22 MB, free: 5.102 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.36/1.36, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.925/2.925, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.8 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3145, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1758/0.4903, allocations: 155.1 MB / 1.467 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.505, allocations: 10.77 MB / 1.478 GB, free: 3.223 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.5061, allocations: 27.75 kB / 1.478 GB, free: 3.195 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.507, allocations: 297.6 kB / 1.478 GB, free: 2.902 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.51, allocations: 0.9935 MB / 1.479 GB, free: 1.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.5126, allocations: 1.116 MB / 1.48 GB, free: 0.8008 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002085/0.5147, allocations: 1.729 MB / 1.482 GB, free: 15.07 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.5159, allocations: 0.944 MB / 1.483 GB, free: 14.09 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.5177, allocations: 0.7549 MB / 1.484 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008255/0.5186, allocations: 0.6341 MB / 1.484 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.5188, allocations: 132 kB / 1.484 GB, free: 12.57 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.5208, allocations: 1.069 MB / 1.485 GB, free: 11.5 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.5211, allocations: 386.8 kB / 1.486 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005991/0.5217, allocations: 0.6685 MB / 1.487 GB, free: 10.45 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.5245, allocations: 2.234 MB / 1.489 GB, free: 8.211 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5245, allocations: 4 kB / 1.489 GB, free: 8.207 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5245, allocations: 0 / 1.489 GB, free: 8.207 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.5246, allocations: 0 / 1.489 GB, free: 8.207 MB / 1.186 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.002851/0.5274, allocations: 1.676 MB / 1.49 GB, free: 6.496 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.5274, allocations: 12.03 kB / 1.49 GB, free: 6.484 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.529, allocations: 274.9 kB / 1.491 GB, free: 6.215 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.5302, allocations: 0.8343 MB / 1.491 GB, free: 5.352 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/0.5303, allocations: 77.94 kB / 1.491 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.5304, allocations: 92 kB / 1.492 GB, free: 5.184 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.5323, allocations: 1.11 MB / 1.493 GB, free: 4.035 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.5323, allocations: 0 / 1.493 GB, free: 4.035 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/0.5324, allocations: 47.94 kB / 1.493 GB, free: 3.988 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.5324, allocations: 24 kB / 1.493 GB, free: 3.965 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.5346, allocations: 1.315 MB / 1.494 GB, free: 2.645 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00494/0.5395, allocations: 3.403 MB / 1.497 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.5414, allocations: 0.9725 MB / 1.498 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007227/0.5421, allocations: 392 kB / 1.499 GB, free: 13.71 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.5423, allocations: 56.94 kB / 1.499 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.5434, allocations: 0.6216 MB / 1.499 GB, free: 13.02 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 2.384e-06/0.5434, allocations: 0 / 1.499 GB, free: 13.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.003922/0.5473, allocations: 1.489 MB / 1.501 GB, free: 11.52 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.5474, allocations: 188.9 kB / 1.501 GB, free: 11.29 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5484, allocations: 0.8019 MB / 1.502 GB, free: 10.48 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/0.5485, allocations: 53.69 kB / 1.502 GB, free: 10.43 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.5489, allocations: 473.1 kB / 1.502 GB, free: 9.957 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.5492, allocations: 329.2 kB / 1.503 GB, free: 9.633 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.5495, allocations: 186.6 kB / 1.503 GB, free: 9.441 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5496, allocations: 341.9 kB / 1.503 GB, free: 9.102 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007047/0.5503, allocations: 349.8 kB / 1.503 GB, free: 8.762 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.5511, allocations: 477.6 kB / 1.504 GB, free: 8.273 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.5526, allocations: 0.7882 MB / 1.505 GB, free: 7.473 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5526, allocations: 4 kB / 1.505 GB, free: 7.469 MB / 1.201 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00244/0.5551, allocations: 1.084 MB / 1.506 GB, free: 6.371 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5551, allocations: 16.05 kB / 1.506 GB, free: 6.355 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5551, allocations: 0 / 1.506 GB, free: 6.355 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/0.5558, allocations: 113.6 kB / 1.506 GB, free: 6.238 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.5567, allocations: 203.7 kB / 1.506 GB, free: 6.039 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.5599, allocations: 2.866 MB / 1.509 GB, free: 2.938 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.5607, allocations: 111.4 kB / 1.509 GB, free: 2.828 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.037e-05/0.5608, allocations: 39.97 kB / 1.509 GB, free: 2.789 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.0004929/0.5613, allocations: 311.4 kB / 1.509 GB, free: 2.477 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.5615, allocations: 103.3 kB / 1.509 GB, free: 2.375 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.5643, allocations: 1.314 MB / 1.511 GB, free: 1.039 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.5644, allocations: 12 kB / 1.511 GB, free: 1.027 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5644, allocations: 0 / 1.511 GB, free: 1.027 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5644, allocations: 3.984 kB / 1.511 GB, free: 1.023 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.5684, allocations: 2.395 MB / 1.513 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5684, allocations: 0 / 1.513 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008102/0.5693, allocations: 187.8 kB / 1.513 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005585/0.5698, allocations: 109.6 kB / 1.513 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/0.5699, allocations: 31.92 kB / 1.513 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.5728, allocations: 2.898 MB / 1.516 GB, free: 11.11 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5728, allocations: 0 / 1.516 GB, free: 11.11 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.5754, allocations: 1.237 MB / 1.517 GB, free: 9.852 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.5759, allocations: 246.9 kB / 1.518 GB, free: 9.609 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.576, allocations: 20 kB / 1.518 GB, free: 9.59 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/0.5769, allocations: 78.86 kB / 1.518 GB, free: 9.516 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.577, allocations: 88.78 kB / 1.518 GB, free: 9.43 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.832e-05/0.5771, allocations: 52.03 kB / 1.518 GB, free: 9.379 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007428/0.5779, allocations: 0.5654 MB / 1.518 GB, free: 8.816 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5779, allocations: 4 kB / 1.518 GB, free: 8.812 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001195/0.5791, allocations: 454.9 kB / 1.519 GB, free: 8.367 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 (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.002211/0.5813, allocations: 0.7199 MB / 1.519 GB, free: 7.828 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.5836, allocations: 1.115 MB / 1.521 GB, free: 6.688 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5836, allocations: 0 / 1.521 GB, free: 6.688 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.5849, allocations: 0.7098 MB / 1.521 GB, free: 5.953 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5863, allocations: 357.5 kB / 1.522 GB, free: 5.629 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.5905, allocations: 2.042 MB / 1.524 GB, free: 3.559 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/0.5914, allocations: 1.11 MB / 1.525 GB, free: 2.414 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001012/0.5924, allocations: 315.7 kB / 1.525 GB, free: 2.102 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.5928, allocations: 115.4 kB / 1.525 GB, free: 1.992 MB / 1.217 GB Notification: Performance of SimCode: time 6.91e-07/0.5928, allocations: 0 / 1.525 GB, free: 1.992 MB / 1.217 GB Notification: Performance of Templates: time 0.03537/0.6281, allocations: 20.84 MB / 1.545 GB, free: 13.36 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.163137392140925]