Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005307/0.005307, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.978/2.978, allocations: 461.8 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.12 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3505, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003279/0.3538, allocations: 1.449 MB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00088/0.3547, allocations: 382.8 kB / 1.21 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.3548, allocations: 0 / 1.21 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.927e-05/0.3549, allocations: 7.938 kB / 1.21 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.355, allocations: 3.938 kB / 1.21 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.3555, allocations: 113.8 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.417e-05/0.3556, allocations: 27.92 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.3557, allocations: 8 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.3557, allocations: 11.92 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.3558, allocations: 15.92 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3558, allocations: 4 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.3562, allocations: 271.7 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.3562, allocations: 7.984 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.3563, allocations: 11.92 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3565, allocations: 103.8 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3565, allocations: 4 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3565, allocations: 0 / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3565, allocations: 0 / 1.21 GB, free: 7.289 MB / 0.9669 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.0005598/0.3571, allocations: 363.4 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3572, allocations: 16.62 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.3573, allocations: 0.9375 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3574, allocations: 168.3 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3574, allocations: 4.312 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.3574, allocations: 384 / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.3576, allocations: 50.23 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3576, allocations: 192 / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3576, allocations: 3.938 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3576, allocations: 0 / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3578, allocations: 39.95 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.3582, allocations: 256.9 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.3585, allocations: 42.44 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.3586, allocations: 16.91 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007152/0.3593, allocations: 465.5 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3593, allocations: 30.56 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.3593, allocations: 4 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000362/0.3597, allocations: 85.64 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.3598, allocations: 59.28 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.3598, allocations: 113.8 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.3599, allocations: 25.7 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.3599, allocations: 88.17 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3599, allocations: 7.938 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.36, allocations: 13.72 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3601, allocations: 318.8 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.3602, allocations: 15.98 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.3603, allocations: 15.98 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3604, allocations: 44.88 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3604, allocations: 0 / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.3606, allocations: 69.52 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3606, allocations: 5.875 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3607, allocations: 3.938 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3607, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.3608, allocations: 11.98 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3608, allocations: 4.031 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.3608, allocations: 7.984 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.3608, allocations: 0 / 1.212 GB, free: 4.668 MB / 0.9669 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 8.385e-05/0.3609, allocations: 117.8 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.361, allocations: 0 / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.3612, allocations: 73.19 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3612, allocations: 8.016 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3612, allocations: 0 / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3612, allocations: 0 / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.3614, allocations: 165.6 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3614, allocations: 0 / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.3614, allocations: 15.86 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3614, allocations: 0 / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3615, allocations: 4 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.3615, allocations: 3.984 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3615, allocations: 0 / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.3618, allocations: 171.4 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.3619, allocations: 77.11 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.3619, allocations: 0 / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.362, allocations: 7.984 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.362, allocations: 4 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.362, allocations: 0 / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.3621, allocations: 95.55 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3621, allocations: 0 / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002307/0.3623, allocations: 12 kB / 1.213 GB, free: 3.824 MB / 0.9669 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.0001876/0.3625, allocations: 107.2 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3627, allocations: 51.83 kB / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3627, allocations: 0 / 1.213 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.3628, allocations: 20.05 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3631, allocations: 5.484 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.3634, allocations: 113.5 kB / 1.213 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3638, allocations: 0.6768 MB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.3638, allocations: 0 / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.3638, allocations: 11.44 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.3639, allocations: 4.062 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of Templates: time 0.003096/0.367, allocations: 0.7116 MB / 1.215 GB, free: 2.07 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches