Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001987/0.001987, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002503/0.002503, allocations: 190.9 kB / 22.11 MB, free: 4.223 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.575/1.575, allocations: 225.6 MB / 250.8 MB, free: 2.895 MB / 190.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.993/2.993, allocations: 495.8 MB / 0.7831 GB, free: 12.28 MB / 0.6231 GB
"
[Timeout remaining time 176]
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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside")
translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9782/0.9803, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2107/1.191, allocations: 175.5 MB / 1.478 GB, free: 2.836 MB / 1.154 GB
Notification: Performance of NFInst.instExpressions: time 0.0174/1.208, allocations: 11.05 MB / 1.489 GB, free: 9.961 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/1.21, allocations: 47.69 kB / 1.489 GB, free: 9.934 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.001352/1.211, allocations: 425.5 kB / 1.489 GB, free: 9.566 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.00352/1.215, allocations: 1.121 MB / 1.49 GB, free: 8.707 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004726/1.219, allocations: 1.771 MB / 1.492 GB, free: 7.375 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.003432/1.223, allocations: 2.398 MB / 1.495 GB, free: 5.918 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001977/1.225, allocations: 1.117 MB / 1.496 GB, free: 5.098 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004188/1.229, allocations: 1.475 MB / 1.497 GB, free: 4.211 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001506/1.23, allocations: 0.8229 MB / 1.498 GB, free: 3.656 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003272/1.231, allocations: 153.7 kB / 1.498 GB, free: 3.656 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003318/1.234, allocations: 1.26 MB / 1.499 GB, free: 3.047 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.000602/1.235, allocations: 453.3 kB / 1.5 GB, free: 2.707 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.001021/1.236, allocations: 0.7872 MB / 1.5 GB, free: 2.148 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.004468/1.24, allocations: 2.557 MB / 1.503 GB, free: 15.66 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.24, allocations: 3.938 kB / 1.503 GB, free: 15.66 MB / 1.186 GB
Notification: Performance of FrontEnd: time 1.633e-06/1.24, allocations: 3.938 kB / 1.503 GB, free: 15.65 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 3.597e-05/1.24, allocations: 0 / 1.503 GB, free: 15.65 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: 296
 * Number of variables: 296
Notification: Performance of Generate backend data structure: time 0.004194/1.244, allocations: 1.86 MB / 1.505 GB, free: 13.75 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.245, allocations: 8.031 kB / 1.505 GB, free: 13.74 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/1.247, allocations: 358.7 kB / 1.505 GB, free: 13.39 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/1.249, allocations: 0.9046 MB / 1.506 GB, free: 12.45 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/1.249, allocations: 90.27 kB / 1.506 GB, free: 12.36 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/1.249, allocations: 120 kB / 1.506 GB, free: 12.24 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/1.252, allocations: 1.302 MB / 1.507 GB, free: 10.88 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/1.252, allocations: 3.938 kB / 1.507 GB, free: 10.87 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/1.252, allocations: 48 kB / 1.508 GB, free: 10.82 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/1.252, allocations: 32 kB / 1.508 GB, free: 10.79 MB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/1.255, allocations: 1.449 MB / 1.509 GB, free: 9.336 MB / 1.186 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007166/1.262, allocations: 3.997 MB / 1.513 GB, free: 5.125 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002448/1.264, allocations: 1.084 MB / 1.514 GB, free: 4.039 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008646/1.265, allocations: 411.6 kB / 1.514 GB, free: 3.637 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/1.266, allocations: 116.9 kB / 1.514 GB, free: 3.523 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/1.267, allocations: 0.6683 MB / 1.515 GB, free: 2.832 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=106): time 3.026e-06/1.267, allocations: 3.938 kB / 1.515 GB, free: 2.828 MB / 1.186 GB
Notification: Performance of matching and sorting (n=106): time 0.004646/1.272, allocations: 1.539 MB / 1.517 GB, free: 1.285 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/1.272, allocations: 196.9 kB / 1.517 GB, free: 1.047 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.274, allocations: 0.8785 MB / 1.518 GB, free: 148 kB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.274, allocations: 53.69 kB / 1.518 GB, free: 88 kB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006051/1.274, allocations: 0.5208 MB / 1.518 GB, free: 15.56 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003759/1.275, allocations: 368.9 kB / 1.519 GB, free: 15.2 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/1.275, allocations: 210.9 kB / 1.519 GB, free: 14.98 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001973/1.275, allocations: 349.9 kB / 1.519 GB, free: 14.63 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008511/1.276, allocations: 382.4 kB / 1.519 GB, free: 14.26 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.277, allocations: 0.5046 MB / 1.52 GB, free: 13.73 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/1.279, allocations: 0.868 MB / 1.521 GB, free: 12.85 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/1.279, allocations: 4 kB / 1.521 GB, free: 12.84 MB / 1.201 GB
Notification: Performance of matching and sorting (n=130) (initialization): time 0.002969/1.282, allocations: 1.169 MB / 1.522 GB, free: 11.66 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.282, allocations: 8 kB / 1.522 GB, free: 11.65 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.282, allocations: 0 / 1.522 GB, free: 11.65 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/1.283, allocations: 84.86 kB / 1.522 GB, free: 11.57 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.284, allocations: 231.7 kB / 1.522 GB, free: 11.34 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/1.286, allocations: 1.564 MB / 1.524 GB, free: 9.66 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.287, allocations: 123.2 kB / 1.524 GB, free: 9.539 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.287, allocations: 43.97 kB / 1.524 GB, free: 9.496 MB / 1.201 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (128):
 * Single equations (assignments): 127
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.00066/1.288, allocations: 337 kB / 1.524 GB, free: 9.16 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/1.288, allocations: 123.2 kB / 1.524 GB, free: 9.039 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003519/1.292, allocations: 1.501 MB / 1.526 GB, free: 7.516 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.292, allocations: 16 kB / 1.526 GB, free: 7.5 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.292, allocations: 0 / 1.526 GB, free: 7.5 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/1.292, allocations: 7.984 kB / 1.526 GB, free: 7.492 MB / 1.201 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/1.297, allocations: 2.739 MB / 1.529 GB, free: 4.672 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.297, allocations: 11.92 kB / 1.529 GB, free: 4.66 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.298, allocations: 199.7 kB / 1.529 GB, free: 4.465 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004916/1.299, allocations: 72.98 kB / 1.529 GB, free: 4.391 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/1.299, allocations: 35.97 kB / 1.529 GB, free: 4.355 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/1.301, allocations: 1.575 MB / 1.53 GB, free: 2.664 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/1.301, allocations: 4 kB / 1.53 GB, free: 2.66 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/1.305, allocations: 1.87 MB / 1.532 GB, free: 0.7539 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006929/1.306, allocations: 266.9 kB / 1.532 GB, free: 0.4922 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.306, allocations: 28 kB / 1.532 GB, free: 476 kB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/1.307, allocations: 78.69 kB / 1.533 GB, free: 400 kB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/1.307, allocations: 92.77 kB / 1.533 GB, free: 304 kB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.307, allocations: 51.95 kB / 1.533 GB, free: 252 kB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.001046/1.308, allocations: 0.6222 MB / 1.533 GB, free: 15.61 MB / 1.217 GB
Notification: Performance of sort global known variables: time 1.3e-07/1.308, allocations: 3.938 kB / 1.533 GB, free: 15.61 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.001356/1.31, allocations: 470.8 kB / 1.534 GB, free: 15.15 MB / 1.217 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X)
 * 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 (114):
 * Single equations (assignments): 108
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/1.312, allocations: 0.7023 MB / 1.534 GB, free: 14.62 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.002604/1.315, allocations: 1.058 MB / 1.535 GB, free: 13.55 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.315, allocations: 0 / 1.535 GB, free: 13.55 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.001354/1.316, allocations: 0.6295 MB / 1.536 GB, free: 12.91 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/1.318, allocations: 0.5246 MB / 1.537 GB, free: 12.41 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/1.323, allocations: 2.429 MB / 1.539 GB, free: 9.93 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/1.324, allocations: 1.158 MB / 1.54 GB, free: 8.742 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.001537/1.326, allocations: 369.7 kB / 1.54 GB, free: 8.379 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/1.326, allocations: 139.4 kB / 1.541 GB, free: 8.242 MB / 1.217 GB
Notification: Performance of SimCode: time 1.893e-06/1.326, allocations: 0 / 1.541 GB, free: 8.242 MB / 1.217 GB
Notification: Performance of Templates: time 0.04749/1.374, allocations: 24.76 MB / 1.565 GB, free: 15.77 MB / 1.248 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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: 11.207913035526872]