Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_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.005319/0.005319, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001202/0.001202, allocations: 195.8 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.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 67.36 kB / 0.9508 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2655, allocations: 140.4 MB / 1.088 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002293/0.2678, allocations: 1.435 MB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006278/0.2684, allocations: 379.5 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.2685, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.2685, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.2686, allocations: 7.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.269, allocations: 119.6 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.672e-05/0.269, allocations: 27.86 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.2691, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.2692, allocations: 11.98 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.2692, allocations: 19.91 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2692, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.2696, allocations: 275.7 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.2696, allocations: 7.984 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.2696, allocations: 7.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.2698, allocations: 107.7 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2698, allocations: 8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2698, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2698, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 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.0004637/0.2703, allocations: 363.4 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2703, allocations: 8.031 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.2704, allocations: 0.9375 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2705, allocations: 176.3 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2705, allocations: 384 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2706, allocations: 8.312 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.2707, allocations: 54.23 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2707, allocations: 192 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2708, allocations: 7.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2708, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2709, allocations: 31.91 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.2712, allocations: 252.9 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2714, allocations: 42.5 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.2715, allocations: 28.89 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006594/0.2721, allocations: 453.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2722, allocations: 42.56 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2722, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003348/0.2725, allocations: 81.58 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.2726, allocations: 55.53 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.2726, allocations: 105.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2727, allocations: 29.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.2727, allocations: 85.5 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.2727, allocations: 3.906 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.2728, allocations: 21.7 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2729, allocations: 310.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.273, allocations: 23.98 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.273, allocations: 11.98 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.2732, allocations: 40.81 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2732, allocations: 3.938 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.2734, allocations: 73.67 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2734, allocations: 5.719 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2734, allocations: 3.984 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2734, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.2735, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2735, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.2736, allocations: 7.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.2736, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 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 7.515e-05/0.2736, allocations: 113.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.2737, allocations: 7.938 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.2739, allocations: 85.05 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2739, allocations: 3.984 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2739, allocations: 256 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2739, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2741, allocations: 165.6 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2741, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.2742, allocations: 12.02 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2742, allocations: 8 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2742, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2742, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2742, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2744, allocations: 163.4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.2745, allocations: 81.02 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.2745, allocations: 12.03 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.2746, allocations: 11.92 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2746, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.2746, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.2747, allocations: 87.27 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2747, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002132/0.2749, allocations: 12 kB / 1.093 GB, free: 11.72 MB / 0.8575 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.0001684/0.275, allocations: 116.6 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.2752, allocations: 31.97 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2753, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.354e-05/0.2753, allocations: 19.98 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.2756, allocations: 15.86 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.2759, allocations: 105.8 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.2761, allocations: 0.6807 MB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.2761, allocations: 3.984 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.2762, allocations: 11.44 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.2762, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of Templates: time 0.002573/0.2788, allocations: 0.7359 MB / 1.095 GB, free: 9.953 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches