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.001632/0.001632, allocations: 111.9 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.001636/0.001637, allocations: 186.8 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.426/1.426, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.944/2.944, allocations: 490 MB / 0.7695 GB, free: 3.121 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.002135/0.002135, allocations: 75.88 kB / 1.104 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.933/0.9352, allocations: 164 MB / 1.264 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.219/1.154, allocations: 168.5 MB / 1.428 GB, free: 9.551 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02701/1.181, allocations: 17.37 MB / 1.445 GB, free: 11.52 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/1.184, allocations: 31.06 kB / 1.445 GB, free: 11.5 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/1.186, allocations: 0.5688 MB / 1.446 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006516/1.193, allocations: 1.778 MB / 1.448 GB, free: 9.688 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004592/1.197, allocations: 1.442 MB / 1.449 GB, free: 8.602 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004898/1.202, allocations: 2.888 MB / 1.452 GB, free: 6.555 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003595/1.206, allocations: 1.944 MB / 1.454 GB, free: 4.562 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/1.211, allocations: 1.438 MB / 1.455 GB, free: 3.168 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/1.213, allocations: 1.116 MB / 1.456 GB, free: 2.047 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000636/1.213, allocations: 220 kB / 1.457 GB, free: 1.832 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/1.218, allocations: 1.556 MB / 1.458 GB, free: 280 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/1.219, allocations: 0.7946 MB / 1.459 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002147/1.221, allocations: 1.228 MB / 1.46 GB, free: 14.24 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006463/1.227, allocations: 3.635 MB / 1.464 GB, free: 10.59 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.227, allocations: 3.938 kB / 1.464 GB, free: 10.59 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.617e-06/1.227, allocations: 0 / 1.464 GB, free: 10.59 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001098/1.228, allocations: 3.938 kB / 1.464 GB, free: 10.59 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.006049/1.234, allocations: 2.867 MB / 1.466 GB, free: 7.656 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.234, allocations: 8.031 kB / 1.466 GB, free: 7.648 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003759/1.237, allocations: 0.5721 MB / 1.467 GB, free: 7.074 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/1.24, allocations: 1.66 MB / 1.469 GB, free: 5.363 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/1.24, allocations: 127.4 kB / 1.469 GB, free: 5.238 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/1.241, allocations: 168 kB / 1.469 GB, free: 5.074 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/1.245, allocations: 1.96 MB / 1.471 GB, free: 3.062 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/1.245, allocations: 7.969 kB / 1.471 GB, free: 3.055 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/1.245, allocations: 76 kB / 1.471 GB, free: 2.98 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/1.245, allocations: 40 kB / 1.471 GB, free: 2.941 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/1.249, allocations: 2.117 MB / 1.473 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/1.259, allocations: 6.384 MB / 1.479 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/1.262, allocations: 2.14 MB / 1.481 GB, free: 7.824 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/1.264, allocations: 0.7725 MB / 1.482 GB, free: 7.047 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/1.264, allocations: 437.6 kB / 1.482 GB, free: 6.543 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001983/1.266, allocations: 1.017 MB / 1.483 GB, free: 5.508 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 4.048e-06/1.266, allocations: 0 / 1.483 GB, free: 5.508 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007183/1.274, allocations: 3.001 MB / 1.486 GB, free: 2.395 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.274, allocations: 197.2 kB / 1.487 GB, free: 2.156 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/1.277, allocations: 1.826 MB / 1.488 GB, free: 328 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/1.277, allocations: 57.7 kB / 1.488 GB, free: 264 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00091/1.278, allocations: 0.864 MB / 1.489 GB, free: 15.38 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/1.279, allocations: 0.4956 MB / 1.49 GB, free: 14.88 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/1.279, allocations: 258.8 kB / 1.49 GB, free: 14.62 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.279, allocations: 361.9 kB / 1.49 GB, free: 14.27 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.281, allocations: 0.6038 MB / 1.491 GB, free: 13.66 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/1.282, allocations: 0.8131 MB / 1.492 GB, free: 12.8 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/1.285, allocations: 1.353 MB / 1.493 GB, free: 11.43 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.285, allocations: 0 / 1.493 GB, free: 11.43 MB / 1.186 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004445/1.289, allocations: 1.847 MB / 1.495 GB, free: 9.562 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.289, allocations: 11.94 kB / 1.495 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.289, allocations: 0 / 1.495 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/1.291, allocations: 216.1 kB / 1.495 GB, free: 9.324 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.292, allocations: 331.6 kB / 1.495 GB, free: 9 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006977/1.299, allocations: 7.326 MB / 1.503 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/1.301, allocations: 171 kB / 1.503 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/1.301, allocations: 63.89 kB / 1.503 GB, free: 0.7422 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.001076/1.302, allocations: 496.2 kB / 1.503 GB, free: 256 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/1.303, allocations: 190.8 kB / 1.503 GB, free: 64 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/1.308, allocations: 2.141 MB / 1.505 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.308, allocations: 16 kB / 1.505 GB, free: 13.88 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.308, allocations: 3.984 kB / 1.505 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/1.308, allocations: 3.984 kB / 1.506 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007791/1.316, allocations: 4.018 MB / 1.509 GB, free: 9.773 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.316, allocations: 7.938 kB / 1.509 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/1.317, allocations: 319.6 kB / 1.51 GB, free: 9.453 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008949/1.318, allocations: 200.1 kB / 1.51 GB, free: 9.242 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.318, allocations: 39.97 kB / 1.51 GB, free: 9.203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006601/1.325, allocations: 7.364 MB / 1.517 GB, free: 1.137 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.325, allocations: 3.938 kB / 1.517 GB, free: 1.133 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004542/1.329, allocations: 2.025 MB / 1.519 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.33, allocations: 491.2 kB / 1.52 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/1.331, allocations: 28 kB / 1.52 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.332, allocations: 107.1 kB / 1.52 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.333, allocations: 117.1 kB / 1.52 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.333, allocations: 71.94 kB / 1.52 GB, free: 14.25 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002053/1.335, allocations: 1.306 MB / 1.521 GB, free: 12.95 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.335, allocations: 0 / 1.521 GB, free: 12.95 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001965/1.337, allocations: 0.6899 MB / 1.522 GB, free: 12.26 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 (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.002527/1.339, allocations: 0.7633 MB / 1.523 GB, free: 11.68 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003961/1.343, allocations: 2.113 MB / 1.525 GB, free: 9.504 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.343, allocations: 8.625 kB / 1.525 GB, free: 9.496 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002318/1.346, allocations: 1.422 MB / 1.526 GB, free: 8.008 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.348, allocations: 0.5466 MB / 1.527 GB, free: 7.48 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007491/1.356, allocations: 3.862 MB / 1.53 GB, free: 3.578 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/1.357, allocations: 1.494 MB / 1.532 GB, free: 2.051 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007035/1.358, allocations: 203.3 kB / 1.532 GB, free: 1.852 MB / 1.217 GB Notification: Performance of SimCode: time 6.51e-07/1.358, allocations: 0 / 1.532 GB, free: 1.852 MB / 1.217 GB Notification: Performance of Templates: time 0.08011/1.438, allocations: 67.78 MB / 1.598 GB, free: 14.12 MB / 1.295 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: 16.87387436896097]