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.001414/0.001414, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001488/0.001488, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.276/2.276, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 67.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.112, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002596/1.114, allocations: 1.433 MB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007341/1.115, allocations: 388.7 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/1.115, allocations: 4 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/1.115, allocations: 1.672 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/1.115, allocations: 4.453 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/1.116, allocations: 113.3 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.009e-05/1.116, allocations: 20.81 kB / 1.091 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/1.116, allocations: 8.484 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/1.116, allocations: 10.09 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/1.116, allocations: 17.39 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/1.116, allocations: 5.969 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005018/1.116, allocations: 280 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/1.116, allocations: 1.219 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/1.116, allocations: 12.08 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/1.117, allocations: 106 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.117, allocations: 0.5625 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.226e-06/1.117, allocations: 1.25 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.117, allocations: 3.938 kB / 1.091 GB, free: 4.078 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.000421/1.117, allocations: 372.9 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.117, allocations: 9.453 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/1.117, allocations: 3.125 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.3e-05/1.117, allocations: 171.9 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/1.117, allocations: 1.406 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/1.117, allocations: 1.5 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/1.118, allocations: 49.3 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/1.118, allocations: 0.9375 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.118, allocations: 7.938 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/1.118, allocations: 5.047 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/1.118, allocations: 36.94 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/1.118, allocations: 249.4 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/1.118, allocations: 41.12 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/1.118, allocations: 23.69 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/1.119, allocations: 459.2 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/1.119, allocations: 36.52 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/1.119, allocations: 3.938 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003693/1.119, allocations: 80.69 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/1.119, allocations: 53.05 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/1.119, allocations: 104.3 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/1.119, allocations: 29.83 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/1.119, allocations: 87.09 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/1.119, allocations: 6.531 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.12, allocations: 13.67 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.219e-05/1.12, allocations: 312.5 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/1.12, allocations: 18.64 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/1.12, allocations: 18.8 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/1.12, allocations: 45.41 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.12, allocations: 0.7031 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/1.12, allocations: 68.66 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.12, allocations: 9.062 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/1.12, allocations: 0.6562 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.12, allocations: 8.812 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/1.12, allocations: 8.922 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.12, allocations: 0.5625 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/1.12, allocations: 6.422 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/1.12, allocations: 1.344 kB / 1.093 GB, free: 1.867 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 5.064e-05/1.12, allocations: 116.2 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/1.12, allocations: 9.438 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/1.121, allocations: 81 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.121, allocations: 1.766 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.121, allocations: 0 / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/1.121, allocations: 0.6875 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/1.121, allocations: 161.9 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.121, allocations: 0 / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/1.121, allocations: 9.094 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.121, allocations: 1.125 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/1.121, allocations: 0.75 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.121, allocations: 4.812 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.121, allocations: 0 / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/1.121, allocations: 168.4 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/1.121, allocations: 82.47 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/1.121, allocations: 1.422 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/1.121, allocations: 6.453 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/1.121, allocations: 6.328 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/1.121, allocations: 1.094 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.062e-05/1.121, allocations: 85.7 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.121, allocations: 0 / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002391/1.122, allocations: 16.84 kB / 1.094 GB, free: 1.156 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.0001779/1.122, allocations: 110.8 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002464/1.122, allocations: 40.53 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.122, allocations: 0 / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/1.122, allocations: 24.73 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/1.122, allocations: 6.188 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/1.123, allocations: 140 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/1.123, allocations: 0.6816 MB / 1.095 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/1.123, allocations: 13.36 kB / 1.095 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.123, allocations: 0 / 1.095 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.002487/1.126, allocations: 0.7166 MB / 1.096 GB, free: 16.13 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches