Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007877/0.0007877, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8668/0.8668, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.901e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001644/0.001663, allocations: 1.46 MB / 0.9532 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.002142, allocations: 346.9 kB / 0.9535 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.002172, allocations: 0 / 0.9535 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.002196, allocations: 3.938 kB / 0.9535 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.002233, allocations: 3.938 kB / 0.9535 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.002654, allocations: 125 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.002725, allocations: 23.92 kB / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.002819, allocations: 4 kB / 0.9536 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.002875, allocations: 23.91 kB / 0.9537 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.422e-05/0.00291, allocations: 3.984 kB / 0.9537 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.002926, allocations: 4 kB / 0.9537 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.003271, allocations: 255.7 kB / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.003292, allocations: 7.984 kB / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.003313, allocations: 7.938 kB / 0.9539 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.003557, allocations: 139.6 kB / 0.9541 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003559, allocations: 0 / 0.9541 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00356, allocations: 0 / 0.9541 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.003565, allocations: 0 / 0.9541 GB, free: 0.6133 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004197/0.003984, allocations: 294 kB / 0.9543 GB, free: 300 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.004025, allocations: 12.03 kB / 0.9544 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.004081, allocations: 4.875 kB / 0.9544 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.004174, allocations: 109.8 kB / 0.9545 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.004185, allocations: 384 / 0.9545 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-06/0.004194, allocations: 384 / 0.9545 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.004357, allocations: 58.17 kB / 0.9545 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.004366, allocations: 4.172 kB / 0.9545 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.004376, allocations: 4.312 kB / 0.9545 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.004381, allocations: 4.375 kB / 0.9545 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.004504, allocations: 31.91 kB / 0.9546 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.00481, allocations: 200.6 kB / 0.9548 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.004915, allocations: 35.17 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.004979, allocations: 28.84 kB / 0.9548 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.005391, allocations: 79.91 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.005414, allocations: 30.56 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005415, allocations: 4 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002997/0.005715, allocations: 89.58 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.005747, allocations: 51.41 kB / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.005815, allocations: 109.8 kB / 0.9552 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.005829, allocations: 25.7 kB / 0.9552 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.005868, allocations: 80.14 kB / 0.9553 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.005891, allocations: 11.94 kB / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.005922, allocations: 17.84 kB / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.006025, allocations: 314.8 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.006085, allocations: 23.92 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.064e-05/0.006136, allocations: 11.98 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.006287, allocations: 40.83 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006289, allocations: 0 / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001222/0.006411, allocations: 69.72 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.006423, allocations: 10.19 kB / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.006429, allocations: 3.938 kB / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.006441, allocations: 0 / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.006495, allocations: 7.984 kB / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.006499, allocations: 0 / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.006524, allocations: 15.88 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.006529, allocations: 4 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.00658, allocations: 113.9 kB / 0.9559 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.006596, allocations: 4 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.006724, allocations: 73.22 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006726, allocations: 4 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.006729, allocations: 0 / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006732, allocations: 3.938 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.41e-05/0.006816, allocations: 101.3 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006817, allocations: 3.938 kB / 0.9561 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.00684, allocations: 16.02 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006841, allocations: 0 / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.006847, allocations: 4 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.00685, allocations: 3.938 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006851, allocations: 0 / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.006972, allocations: 163.5 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.006979, allocations: 7.891 kB / 0.9563 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.006988, allocations: 0 / 0.9563 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.007024, allocations: 15.95 kB / 0.9563 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.007053, allocations: 4 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.007055, allocations: 4.25 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.007082, allocations: 87.27 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007082, allocations: 0 / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001547/0.007236, allocations: 12 kB / 0.9564 GB, free: 14.01 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001133/0.00735, allocations: 111.2 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.00747, allocations: 47.89 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007471, allocations: 0 / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.007509, allocations: 19.98 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.007675, allocations: 0 / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.007884, allocations: 142.4 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.743e-05/0.007922, allocations: 63.34 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.007939, allocations: 8.5 kB / 0.9567 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of SimCode: time 2.81e-07/0.00794, allocations: 4 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of Templates: time 0.001674/0.009613, allocations: 0.7202 MB / 0.9575 GB, free: 12.84 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.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: 6.438806221820414]