Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00154/0.00154, allocations: 112.7 kB / 17.08 MB, free: 6.016 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.001567/0.001567, allocations: 188.3 kB / 20.02 MB, free: 3.086 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.413/1.413, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 491.4 MB / 0.7708 GB, free: 1.848 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.89 kB / 1.106 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 164.3 MB / 1.266 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.842/1.172, allocations: 168.5 MB / 1.431 GB, free: 12.78 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02723/1.2, allocations: 17.37 MB / 1.448 GB, free: 388 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/1.202, allocations: 32.22 kB / 1.448 GB, free: 376 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/1.205, allocations: 0.5632 MB / 1.448 GB, free: 28 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007364/1.212, allocations: 1.789 MB / 1.45 GB, free: 15.05 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/1.217, allocations: 1.448 MB / 1.451 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005246/1.222, allocations: 2.889 MB / 1.454 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/1.226, allocations: 1.944 MB / 1.456 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005054/1.231, allocations: 1.413 MB / 1.457 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/1.233, allocations: 1.118 MB / 1.459 GB, free: 10.75 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005314/1.233, allocations: 221.3 kB / 1.459 GB, free: 10.75 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/1.237, allocations: 1.555 MB / 1.46 GB, free: 10.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009625/1.238, allocations: 0.7976 MB / 1.461 GB, free: 9.871 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002183/1.24, allocations: 1.233 MB / 1.462 GB, free: 9.094 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007892/1.248, allocations: 3.632 MB / 1.466 GB, free: 7.648 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.248, allocations: 0 / 1.466 GB, free: 7.648 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.405e-06/1.248, allocations: 1.625 kB / 1.466 GB, free: 7.648 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001143/1.249, allocations: 0 / 1.466 GB, free: 7.648 MB / 1.154 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.006948/1.256, allocations: 2.873 MB / 1.469 GB, free: 5.828 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.256, allocations: 9.031 kB / 1.469 GB, free: 5.828 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004016/1.26, allocations: 0.5713 MB / 1.469 GB, free: 5.664 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/1.263, allocations: 1.653 MB / 1.471 GB, free: 4.527 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/1.264, allocations: 131.1 kB / 1.471 GB, free: 4.469 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/1.264, allocations: 165 kB / 1.471 GB, free: 4.418 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/1.268, allocations: 1.956 MB / 1.473 GB, free: 3.277 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/1.268, allocations: 0 / 1.473 GB, free: 3.277 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/1.269, allocations: 79.14 kB / 1.473 GB, free: 3.219 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/1.269, allocations: 40.28 kB / 1.473 GB, free: 3.219 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/1.273, allocations: 2.116 MB / 1.475 GB, free: 2.254 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/1.286, allocations: 6.402 MB / 1.481 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/1.289, allocations: 2.141 MB / 1.484 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/1.291, allocations: 0.7738 MB / 1.484 GB, free: 11.53 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006629/1.292, allocations: 431.9 kB / 1.485 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001948/1.293, allocations: 1.028 MB / 1.486 GB, free: 10.51 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.466e-06/1.294, allocations: 1 kB / 1.486 GB, free: 10.51 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007395/1.301, allocations: 2.993 MB / 1.489 GB, free: 8.82 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.301, allocations: 201.2 kB / 1.489 GB, free: 8.594 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/1.304, allocations: 1.829 MB / 1.491 GB, free: 7.688 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003022/1.304, allocations: 60.33 kB / 1.491 GB, free: 7.633 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008171/1.305, allocations: 0.8544 MB / 1.491 GB, free: 6.883 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/1.305, allocations: 0.5024 MB / 1.492 GB, free: 6.434 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/1.306, allocations: 257.4 kB / 1.492 GB, free: 6.285 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.306, allocations: 357.3 kB / 1.493 GB, free: 5.941 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.307, allocations: 0.6077 MB / 1.493 GB, free: 5.637 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/1.309, allocations: 0.8131 MB / 1.494 GB, free: 4.773 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/1.311, allocations: 1.357 MB / 1.495 GB, free: 3.402 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.311, allocations: 0 / 1.495 GB, free: 3.402 MB / 1.17 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004501/1.316, allocations: 1.851 MB / 1.497 GB, free: 1.527 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.316, allocations: 7.938 kB / 1.497 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/1.316, allocations: 0 / 1.497 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.317, allocations: 212.1 kB / 1.497 GB, free: 1.297 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/1.319, allocations: 335.6 kB / 1.498 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006901/1.326, allocations: 7.322 MB / 1.505 GB, free: 8.945 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.328, allocations: 177.2 kB / 1.505 GB, free: 8.773 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/1.328, allocations: 56.02 kB / 1.505 GB, free: 8.719 MB / 1.186 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.001292/1.329, allocations: 492.7 kB / 1.505 GB, free: 8.23 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000593/1.33, allocations: 190.8 kB / 1.506 GB, free: 8.043 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/1.335, allocations: 2.141 MB / 1.508 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/1.335, allocations: 20 kB / 1.508 GB, free: 5.855 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/1.335, allocations: 0 / 1.508 GB, free: 5.855 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.335, allocations: 7.969 kB / 1.508 GB, free: 5.848 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007999/1.343, allocations: 4.02 MB / 1.512 GB, free: 1.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.343, allocations: 0 / 1.512 GB, free: 1.754 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.344, allocations: 323.5 kB / 1.512 GB, free: 1.438 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008997/1.345, allocations: 208 kB / 1.512 GB, free: 1.219 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/1.345, allocations: 43.97 kB / 1.512 GB, free: 1.176 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006921/1.352, allocations: 7.356 MB / 1.519 GB, free: 9.117 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/1.352, allocations: 11.95 kB / 1.519 GB, free: 9.105 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/1.357, allocations: 2.025 MB / 1.521 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.359, allocations: 487.2 kB / 1.522 GB, free: 6.547 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/1.359, allocations: 28 kB / 1.522 GB, free: 6.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.361, allocations: 110.5 kB / 1.522 GB, free: 6.414 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/1.361, allocations: 113.1 kB / 1.522 GB, free: 6.305 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.361, allocations: 75.94 kB / 1.522 GB, free: 6.23 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00209/1.363, allocations: 1.302 MB / 1.523 GB, free: 4.934 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.363, allocations: 0 / 1.523 GB, free: 4.934 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002761/1.366, allocations: 0.6976 MB / 1.524 GB, free: 4.234 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 (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.002706/1.369, allocations: 0.7549 MB / 1.525 GB, free: 3.66 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004165/1.373, allocations: 2.105 MB / 1.527 GB, free: 1.488 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.373, allocations: 4.562 kB / 1.527 GB, free: 1.484 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/1.375, allocations: 1.43 MB / 1.528 GB, free: 15.99 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.379, allocations: 0.5443 MB / 1.529 GB, free: 15.47 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00787/1.387, allocations: 3.855 MB / 1.533 GB, free: 11.57 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.388, allocations: 1.497 MB / 1.534 GB, free: 10.05 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000952/1.389, allocations: 207.2 kB / 1.534 GB, free: 9.848 MB / 1.217 GB Notification: Performance of SimCode: time 1.763e-06/1.389, allocations: 0 / 1.534 GB, free: 9.848 MB / 1.217 GB Notification: Performance of Templates: time 0.08842/1.477, allocations: 67.78 MB / 1.6 GB, free: 6.113 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.250210124067962]