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.006921/0.006921, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001293/0.001293, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.401/1.401, allocations: 222.9 MB / 240.4 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.273/2.273, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9953/0.9965, allocations: 140.4 MB / 1.088 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002927/0.9995, allocations: 1.443 MB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008018/1, allocations: 384.5 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/1, allocations: 0 / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/1, allocations: 5.031 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/1, allocations: 0.8906 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/1.001, allocations: 116.3 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.214e-05/1.001, allocations: 33.78 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/1.001, allocations: 4.453 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/1.001, allocations: 8.922 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/1.001, allocations: 15.75 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/1.001, allocations: 1.969 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/1.002, allocations: 279 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/1.002, allocations: 5.062 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/1.002, allocations: 11.92 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/1.002, allocations: 102.4 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.002, allocations: 0 / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/1.002, allocations: 5.375 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.002, allocations: 0.7969 kB / 1.09 GB, free: 4.324 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.0004566/1.003, allocations: 367.1 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.003, allocations: 11.17 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/1.003, allocations: 1.844 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/1.003, allocations: 176 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.003, allocations: 1.281 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/1.003, allocations: 1.5 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/1.003, allocations: 57.48 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.003, allocations: 5.406 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.003, allocations: 3.938 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/1.003, allocations: 0 / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/1.003, allocations: 34.12 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/1.004, allocations: 248.7 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/1.004, allocations: 40.97 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/1.004, allocations: 23.89 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/1.004, allocations: 466.9 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/1.005, allocations: 36.17 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/1.005, allocations: 0 / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003701/1.005, allocations: 81.83 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/1.005, allocations: 56.72 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/1.005, allocations: 108.7 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/1.005, allocations: 25.7 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/1.005, allocations: 82.39 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/1.005, allocations: 9.219 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/1.005, allocations: 12.8 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.953e-05/1.005, allocations: 313.2 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/1.005, allocations: 17.89 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/1.005, allocations: 23.66 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/1.005, allocations: 40.94 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.005, allocations: 0.75 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002253/1.006, allocations: 68.28 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.006, allocations: 10 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.006, allocations: 0 / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.006, allocations: 4.656 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/1.006, allocations: 9.078 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.006, allocations: 1.453 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/1.006, allocations: 5.453 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/1.006, allocations: 5.422 kB / 1.093 GB, free: 2.105 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 6.951e-05/1.006, allocations: 120.6 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/1.006, allocations: 9.281 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/1.006, allocations: 69.55 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.006, allocations: 0.5938 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.006, allocations: 1.219 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/1.006, allocations: 0 / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/1.006, allocations: 165.9 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.006, allocations: 0 / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/1.007, allocations: 9.688 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.007, allocations: 4.781 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/1.007, allocations: 1.062 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/1.007, allocations: 0 / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.007, allocations: 0.7188 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/1.007, allocations: 167.5 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/1.007, allocations: 83.45 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/1.007, allocations: 5.359 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/1.007, allocations: 5.5 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/1.007, allocations: 2.859 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.007, allocations: 0.5 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.886e-05/1.007, allocations: 86.44 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.007, allocations: 0 / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000237/1.007, allocations: 13.31 kB / 1.093 GB, free: 1.402 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.0001859/1.007, allocations: 114.2 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002305/1.008, allocations: 40.44 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.008, allocations: 7.875 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.644e-05/1.008, allocations: 20.09 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/1.008, allocations: 10.05 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/1.008, allocations: 114 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/1.009, allocations: 0.6808 MB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.604e-05/1.009, allocations: 2.516 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/1.009, allocations: 12.16 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/1.009, allocations: 0.75 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of Templates: time 0.003715/1.012, allocations: 0.718 MB / 1.095 GB, free: 388 kB / 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