Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.001706/0.001706, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002038/0.002038, allocations: 191.9 kB / 22.11 MB, free: 5.156 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.528/1.528, allocations: 225.6 MB / 250.8 MB, free: 13.06 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 3.336/3.336, allocations: 495.8 MB / 0.783 GB, free: 33.59 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_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles")
translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.17 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3839, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2111/0.5951, allocations: 167.4 MB / 1.47 GB, free: 9.75 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.03062/0.6257, allocations: 17.53 MB / 1.487 GB, free: 8.164 MB / 1.186 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.6276, allocations: 43.62 kB / 1.487 GB, free: 8.121 MB / 1.186 GB
Notification: Performance of NFTyping.typeComponents: time 0.002044/0.6296, allocations: 0.5895 MB / 1.488 GB, free: 7.527 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.005753/0.6354, allocations: 1.852 MB / 1.49 GB, free: 5.672 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.6396, allocations: 1.482 MB / 1.491 GB, free: 4.203 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.004785/0.6443, allocations: 2.898 MB / 1.494 GB, free: 1.293 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.6472, allocations: 1.602 MB / 1.496 GB, free: 15.63 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005139/0.6523, allocations: 1.507 MB / 1.497 GB, free: 14.17 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.6544, allocations: 1.148 MB / 1.498 GB, free: 13.02 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0005111/0.6549, allocations: 220 kB / 1.498 GB, free: 12.8 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.6583, allocations: 1.455 MB / 1.5 GB, free: 11.35 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0008884/0.6592, allocations: 0.8101 MB / 1.501 GB, free: 10.54 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.001611/0.6608, allocations: 1.228 MB / 1.502 GB, free: 9.301 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.005849/0.6667, allocations: 3.599 MB / 1.505 GB, free: 5.688 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.6667, allocations: 4 kB / 1.505 GB, free: 5.684 MB / 1.201 GB
Notification: Performance of FrontEnd: time 1.353e-06/0.6667, allocations: 0 / 1.505 GB, free: 5.684 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 5.045e-05/0.6667, allocations: 0 / 1.505 GB, free: 5.684 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: 431
 * Number of variables: 431
Notification: Performance of Generate backend data structure: time 0.005681/0.6724, allocations: 2.797 MB / 1.508 GB, free: 2.84 MB / 1.201 GB
Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6725, allocations: 12.03 kB / 1.508 GB, free: 2.828 MB / 1.201 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/0.6764, allocations: 0.5682 MB / 1.509 GB, free: 2.258 MB / 1.201 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.6798, allocations: 1.576 MB / 1.51 GB, free: 0.6484 MB / 1.201 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.6799, allocations: 135.4 kB / 1.51 GB, free: 0.5156 MB / 1.201 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.6802, allocations: 164 kB / 1.51 GB, free: 364 kB / 1.201 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.6841, allocations: 1.956 MB / 1.512 GB, free: 14.35 MB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.6841, allocations: 3.938 kB / 1.512 GB, free: 14.34 MB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.6843, allocations: 76 kB / 1.512 GB, free: 14.27 MB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.6843, allocations: 40 kB / 1.512 GB, free: 14.23 MB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004001/0.6883, allocations: 2.12 MB / 1.515 GB, free: 12.11 MB / 1.217 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.6992, allocations: 6.29 MB / 1.521 GB, free: 5.414 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003609/0.7028, allocations: 1.742 MB / 1.522 GB, free: 3.668 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.7043, allocations: 0.7178 MB / 1.523 GB, free: 2.945 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/0.7047, allocations: 125.1 kB / 1.523 GB, free: 2.824 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002045/0.7068, allocations: 1.013 MB / 1.524 GB, free: 1.789 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=146): time 3.757e-06/0.7068, allocations: 0 / 1.524 GB, free: 1.789 MB / 1.217 GB
Notification: Performance of matching and sorting (n=146): time 0.007557/0.7143, allocations: 2.617 MB / 1.527 GB, free: 15.15 MB / 1.232 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.7145, allocations: 205.2 kB / 1.527 GB, free: 14.91 MB / 1.232 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.7174, allocations: 1.83 MB / 1.529 GB, free: 13.07 MB / 1.232 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.7176, allocations: 53.7 kB / 1.529 GB, free: 13.01 MB / 1.232 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000865/0.7185, allocations: 0.8639 MB / 1.53 GB, free: 12.14 MB / 1.232 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006704/0.7192, allocations: 0.5034 MB / 1.53 GB, free: 11.63 MB / 1.232 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/0.7196, allocations: 254.8 kB / 1.53 GB, free: 11.37 MB / 1.232 GB
Notification: Performance of setup shared object (initialization): time 0.0001793/0.7198, allocations: 357.9 kB / 1.531 GB, free: 11.02 MB / 1.232 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.7211, allocations: 0.6077 MB / 1.531 GB, free: 10.41 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.7228, allocations: 0.8092 MB / 1.532 GB, free: 9.547 MB / 1.232 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.7256, allocations: 1.357 MB / 1.533 GB, free: 8.18 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7256, allocations: 0 / 1.533 GB, free: 8.18 MB / 1.232 GB
Notification: Performance of matching and sorting (n=163) (initialization): time 0.004697/0.7303, allocations: 1.847 MB / 1.535 GB, free: 6.309 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.7304, allocations: 7.938 kB / 1.535 GB, free: 6.301 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.7304, allocations: 8.062 kB / 1.535 GB, free: 6.293 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.7315, allocations: 208 kB / 1.535 GB, free: 6.074 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.7332, allocations: 339.6 kB / 1.536 GB, free: 5.742 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007517/0.7408, allocations: 6.813 MB / 1.542 GB, free: 14.35 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.7428, allocations: 179.7 kB / 1.543 GB, free: 14.18 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.743, allocations: 55.95 kB / 1.543 GB, free: 14.12 MB / 1.248 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 (153):
 * Single equations (assignments): 148
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 5
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.7442, allocations: 495.8 kB / 1.543 GB, free: 13.63 MB / 1.248 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005571/0.7448, allocations: 194.7 kB / 1.543 GB, free: 13.44 MB / 1.248 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/0.75, allocations: 2.137 MB / 1.545 GB, free: 11.27 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.75, allocations: 16 kB / 1.545 GB, free: 11.26 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.75, allocations: 4 kB / 1.545 GB, free: 11.25 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.75, allocations: 11.91 kB / 1.545 GB, free: 11.24 MB / 1.248 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008612/0.7586, allocations: 3.982 MB / 1.549 GB, free: 7.191 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.7586, allocations: 3.938 kB / 1.549 GB, free: 7.188 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.7603, allocations: 319.6 kB / 1.55 GB, free: 6.875 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009533/0.7612, allocations: 192.1 kB / 1.55 GB, free: 6.672 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.7613, allocations: 43.95 kB / 1.55 GB, free: 6.629 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007633/0.769, allocations: 6.859 MB / 1.557 GB, free: 15.19 MB / 1.264 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.769, allocations: 3.938 kB / 1.557 GB, free: 15.18 MB / 1.264 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.7741, allocations: 2.017 MB / 1.559 GB, free: 13.13 MB / 1.264 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.7753, allocations: 406.2 kB / 1.559 GB, free: 12.73 MB / 1.264 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.7756, allocations: 32 kB / 1.559 GB, free: 12.7 MB / 1.264 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.777, allocations: 101 kB / 1.559 GB, free: 12.61 MB / 1.264 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/0.7773, allocations: 129.1 kB / 1.559 GB, free: 12.48 MB / 1.264 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.7774, allocations: 79.94 kB / 1.559 GB, free: 12.4 MB / 1.264 GB
Notification: Performance of sorting global known variables: time 0.001999/0.7794, allocations: 1.302 MB / 1.561 GB, free: 11.1 MB / 1.264 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.7794, allocations: 0 / 1.561 GB, free: 11.1 MB / 1.264 GB
Notification: Performance of remove unused functions: time 0.002298/0.7817, allocations: 0.6938 MB / 1.561 GB, free: 10.41 MB / 1.264 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 (149):
 * Single equations (assignments): 139
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 5
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.002574/0.7843, allocations: 0.7675 MB / 1.562 GB, free: 9.828 MB / 1.264 GB
Notification: Performance of simCode: created initialization part: time 0.004345/0.7887, allocations: 2.051 MB / 1.564 GB, free: 7.711 MB / 1.264 GB
Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7887, allocations: 0.6562 kB / 1.564 GB, free: 7.711 MB / 1.264 GB
Notification: Performance of simCode: created simulation system equations: time 0.002443/0.7911, allocations: 1.372 MB / 1.565 GB, free: 6.277 MB / 1.264 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.7938, allocations: 0.55 MB / 1.566 GB, free: 5.742 MB / 1.264 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/0.8014, allocations: 3.916 MB / 1.57 GB, free: 1.793 MB / 1.264 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.8028, allocations: 1.543 MB / 1.571 GB, free: 220 kB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.001839/0.8046, allocations: 0.501 MB / 1.572 GB, free: 15.7 MB / 1.279 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/0.8051, allocations: 171.3 kB / 1.572 GB, free: 15.54 MB / 1.279 GB
Notification: Performance of SimCode: time 9.92e-07/0.8051, allocations: 3.938 kB / 1.572 GB, free: 15.54 MB / 1.279 GB
Notification: Performance of Templates: time 0.7526/1.558, allocations: 33.49 MB / 1.605 GB, free: 289.6 MB / 1.295 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.698741178028286]