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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_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.001775/0.001775, allocations: 101.5 kB / 15.98 MB, free: 6.348 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.001928/0.001928, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 70.42 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3452, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003547/0.3488, allocations: 1.502 MB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.3497, allocations: 382.8 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.3497, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.3498, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.3499, allocations: 7.922 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.3504, allocations: 95.84 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.3505, allocations: 23.92 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3506, allocations: 11.94 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.3507, allocations: 11.98 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.3507, allocations: 7.938 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.3507, allocations: 4 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.3512, allocations: 275.6 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.3512, allocations: 4 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3513, allocations: 15.92 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.3514, allocations: 71.88 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3514, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3515, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3515, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 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.0005831/0.3521, allocations: 367.7 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3521, allocations: 11.97 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.3522, allocations: 4.938 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3523, allocations: 164.3 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3524, allocations: 8.312 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3524, allocations: 384 / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.3526, allocations: 50.23 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3526, allocations: 192 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3526, allocations: 7.875 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3526, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3528, allocations: 43.95 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.3532, allocations: 245 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3533, allocations: 46.44 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.3534, allocations: 24.91 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00074/0.3542, allocations: 457.5 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3542, allocations: 34.56 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.3542, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003834/0.3546, allocations: 81.64 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.3547, allocations: 55.34 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.3548, allocations: 105.8 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3548, allocations: 25.7 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.3549, allocations: 92.27 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3549, allocations: 7.844 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.3549, allocations: 13.72 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3551, allocations: 318.8 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.3552, allocations: 11.98 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.3552, allocations: 19.98 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3554, allocations: 40.89 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3554, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.3556, allocations: 73.59 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3556, allocations: 7.938 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3556, allocations: 256 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3557, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.3558, allocations: 16.02 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3558, allocations: 4 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.3558, allocations: 11.92 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3558, allocations: 3.984 kB / 1.069 GB, free: 10.1 MB / 0.8419 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.755e-05/0.3559, allocations: 109.8 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.356, allocations: 7.906 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.3563, allocations: 77.19 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3563, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3563, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3563, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3565, allocations: 161.6 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3565, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.3565, allocations: 15.92 kB / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3566, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3566, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3566, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3566, allocations: 0 / 1.069 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3569, allocations: 175.4 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3569, allocations: 81.02 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.357, allocations: 0 / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.357, allocations: 7.984 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3571, allocations: 4 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3571, allocations: 8.031 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.3572, allocations: 83.27 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3572, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002407/0.3574, allocations: 12 kB / 1.069 GB, free: 9.273 MB / 0.8419 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.0001973/0.3576, allocations: 115.2 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.3579, allocations: 43.89 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3579, allocations: 4.062 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.358, allocations: 19.98 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3583, allocations: 5.344 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.3587, allocations: 143.2 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.359, allocations: 0.6768 MB / 1.07 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.3591, allocations: 7.5 kB / 1.07 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3591, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of Templates: time 0.002569/0.3616, allocations: 0.7092 MB / 1.071 GB, free: 7.492 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches