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.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.00147/0.00147, 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.001596/0.001596, allocations: 188.3 kB / 22.23 MB, free: 5.098 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.343/1.343, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.887/2.887, allocations: 496 MB / 0.7835 GB, free: 33.56 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-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 65.34 kB / 1.138 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3153, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1822/0.4975, allocations: 155.1 MB / 1.459 GB, free: 6.141 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.01531/0.5128, allocations: 10.78 MB / 1.469 GB, free: 11.33 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007788/0.5136, allocations: 23.81 kB / 1.469 GB, free: 11.31 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.00082/0.5144, allocations: 289.6 kB / 1.47 GB, free: 11.02 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.002758/0.5172, allocations: 0.9949 MB / 1.471 GB, free: 10.03 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.5197, allocations: 1.119 MB / 1.472 GB, free: 8.918 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.002058/0.5218, allocations: 1.725 MB / 1.473 GB, free: 7.188 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.523, allocations: 0.9327 MB / 1.474 GB, free: 6.223 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.5248, allocations: 0.764 MB / 1.475 GB, free: 5.469 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007776/0.5255, allocations: 0.6263 MB / 1.476 GB, free: 4.84 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.000176/0.5257, allocations: 136 kB / 1.476 GB, free: 4.707 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.5277, allocations: 1.073 MB / 1.477 GB, free: 3.633 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003735/0.528, allocations: 390.8 kB / 1.477 GB, free: 3.25 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006385/0.5287, allocations: 0.6685 MB / 1.478 GB, free: 2.578 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002766/0.5314, allocations: 2.218 MB / 1.48 GB, free: 360 kB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5314, allocations: 0 / 1.48 GB, free: 360 kB / 1.17 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.5314, allocations: 4 kB / 1.48 GB, free: 356 kB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.006e-05/0.5315, allocations: 0 / 1.48 GB, free: 356 kB / 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.002905/0.5344, allocations: 1.687 MB / 1.482 GB, free: 14.62 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5344, allocations: 8.031 kB / 1.482 GB, free: 14.61 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.5359, allocations: 278.9 kB / 1.482 GB, free: 14.34 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.5373, allocations: 0.8381 MB / 1.483 GB, free: 13.47 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.5373, allocations: 74 kB / 1.483 GB, free: 13.4 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.5375, allocations: 96 kB / 1.483 GB, free: 13.3 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.5394, allocations: 1.106 MB / 1.484 GB, free: 12.16 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5394, allocations: 0 / 1.484 GB, free: 12.16 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.5395, allocations: 36 kB / 1.484 GB, free: 12.12 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.5395, allocations: 24 kB / 1.484 GB, free: 12.1 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.5418, allocations: 1.323 MB / 1.485 GB, free: 10.78 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.5469, allocations: 3.411 MB / 1.489 GB, free: 7.199 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.5489, allocations: 0.9725 MB / 1.49 GB, free: 6.223 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.5496, allocations: 389.1 kB / 1.49 GB, free: 5.84 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.5498, allocations: 60.94 kB / 1.49 GB, free: 5.781 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.5509, allocations: 0.6215 MB / 1.491 GB, free: 5.141 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=95): time 2.064e-06/0.551, allocations: 0 / 1.491 GB, free: 5.141 MB / 1.186 GB
Notification: Performance of matching and sorting (n=95): time 0.003978/0.5549, allocations: 1.481 MB / 1.492 GB, free: 3.648 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.5551, allocations: 192.9 kB / 1.492 GB, free: 3.414 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.5561, allocations: 0.8096 MB / 1.493 GB, free: 2.594 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 7.485e-05/0.5562, allocations: 45.7 kB / 1.493 GB, free: 2.543 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.5565, allocations: 469.2 kB / 1.494 GB, free: 2.078 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.5568, allocations: 325.2 kB / 1.494 GB, free: 1.758 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.5571, allocations: 190.6 kB / 1.494 GB, free: 1.566 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001649/0.5573, allocations: 345.9 kB / 1.494 GB, free: 1.223 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000723/0.558, allocations: 349.8 kB / 1.495 GB, free: 0.8828 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008641/0.5588, allocations: 485.5 kB / 1.495 GB, free: 392 kB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.5604, allocations: 0.7843 MB / 1.496 GB, free: 15.59 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5604, allocations: 0 / 1.496 GB, free: 15.59 MB / 1.201 GB
Notification: Performance of matching and sorting (n=112) (initialization): time 0.002442/0.5628, allocations: 1.096 MB / 1.497 GB, free: 14.48 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5629, allocations: 8 kB / 1.497 GB, free: 14.47 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5629, allocations: 0 / 1.497 GB, free: 14.47 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/0.5636, allocations: 113.7 kB / 1.497 GB, free: 14.36 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.5645, allocations: 203.7 kB / 1.497 GB, free: 14.16 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003375/0.5678, allocations: 2.865 MB / 1.5 GB, free: 11.06 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/0.5687, allocations: 119.4 kB / 1.5 GB, free: 10.95 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.5687, allocations: 44.03 kB / 1.5 GB, free: 10.9 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.0004766/0.5692, allocations: 299.4 kB / 1.501 GB, free: 10.6 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.5694, allocations: 115.3 kB / 1.501 GB, free: 10.49 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.5724, allocations: 1.31 MB / 1.502 GB, free: 9.152 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.5724, allocations: 12 kB / 1.502 GB, free: 9.141 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5724, allocations: 0 / 1.502 GB, free: 9.141 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.5724, allocations: 3.984 kB / 1.502 GB, free: 9.137 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004113/0.5765, allocations: 2.388 MB / 1.504 GB, free: 6.695 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5765, allocations: 0 / 1.504 GB, free: 6.695 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/0.5773, allocations: 191.8 kB / 1.504 GB, free: 6.508 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000545/0.5779, allocations: 109.5 kB / 1.505 GB, free: 6.395 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.5779, allocations: 35.92 kB / 1.505 GB, free: 6.359 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/0.581, allocations: 2.894 MB / 1.507 GB, free: 3.23 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.581, allocations: 0 / 1.507 GB, free: 3.23 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.5835, allocations: 1.233 MB / 1.509 GB, free: 1.973 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.584, allocations: 242.9 kB / 1.509 GB, free: 1.734 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5841, allocations: 24 kB / 1.509 GB, free: 1.711 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/0.5849, allocations: 71.91 kB / 1.509 GB, free: 1.641 MB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.585, allocations: 92.78 kB / 1.509 GB, free: 1.551 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5851, allocations: 44.03 kB / 1.509 GB, free: 1.508 MB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.0007551/0.5859, allocations: 0.5693 MB / 1.51 GB, free: 0.9414 MB / 1.201 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.5859, allocations: 0 / 1.51 GB, free: 0.9414 MB / 1.201 GB
Notification: Performance of remove unused functions: time 0.001136/0.587, allocations: 462.9 kB / 1.51 GB, free: 500 kB / 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.002158/0.5892, allocations: 0.7245 MB / 1.511 GB, free: 15.94 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.00232/0.5915, allocations: 1.107 MB / 1.512 GB, free: 14.81 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5915, allocations: 0 / 1.512 GB, free: 14.81 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.001259/0.5928, allocations: 0.7098 MB / 1.513 GB, free: 14.08 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.5941, allocations: 351 kB / 1.513 GB, free: 13.76 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.5977, allocations: 2.048 MB / 1.515 GB, free: 11.69 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.5985, allocations: 1.103 MB / 1.516 GB, free: 10.55 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.0009335/0.5994, allocations: 319.6 kB / 1.516 GB, free: 10.23 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.5997, allocations: 119.4 kB / 1.516 GB, free: 10.12 MB / 1.217 GB
Notification: Performance of SimCode: time 7.01e-07/0.5997, allocations: 4 kB / 1.516 GB, free: 10.11 MB / 1.217 GB
Notification: Performance of Templates: time 0.03532/0.635, allocations: 20.84 MB / 1.537 GB, free: 5.48 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  -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: 9.082430625334382]