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.001513/0.001513, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002021/0.002021, allocations: 197.2 kB / 16.26 MB, free: 6.625 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.467/2.467, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.8495, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003745/0.8533, allocations: 1.495 MB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.8544, allocations: 391.4 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.8545, allocations: 0 / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/0.8545, allocations: 0 / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.8546, allocations: 5.094 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.8553, allocations: 100.1 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.8554, allocations: 26.86 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.8555, allocations: 10.7 kB / 0.9511 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.8556, allocations: 12.34 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.8557, allocations: 6.547 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.8557, allocations: 2.562 kB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005575/0.8563, allocations: 276.5 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.8563, allocations: 13.11 kB / 0.9514 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.8564, allocations: 10 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.8566, allocations: 107.8 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8567, allocations: 0 / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8567, allocations: 0 / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.8567, allocations: 0 / 0.9515 GB, free: 7.262 MB / 0.7169 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.0005192/0.8572, allocations: 365.1 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.8573, allocations: 10.28 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.8574, allocations: 6.281 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.8575, allocations: 170.9 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.8575, allocations: 384 / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.8575, allocations: 1.719 kB / 0.952 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.8578, allocations: 58 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8578, allocations: 4.188 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.8578, allocations: 5.156 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.8578, allocations: 0 / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.8581, allocations: 30.97 kB / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.8585, allocations: 250.8 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.8587, allocations: 47.84 kB / 0.9524 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.8588, allocations: 26.14 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00085/0.8597, allocations: 456.5 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.8597, allocations: 31.72 kB / 0.9529 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.374e-06/0.8597, allocations: 0 / 0.9529 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004891/0.8602, allocations: 86.61 kB / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.8603, allocations: 51.41 kB / 0.953 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.8603, allocations: 110.2 kB / 0.9531 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.8604, allocations: 29.64 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.8604, allocations: 85.7 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.8604, allocations: 9.156 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.8605, allocations: 15.23 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.8605, allocations: 320.3 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.8606, allocations: 12.86 kB / 0.9536 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.8607, allocations: 21.73 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.8609, allocations: 40.19 kB / 0.9536 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8609, allocations: 1 kB / 0.9536 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002218/0.8611, allocations: 65.23 kB / 0.9537 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.8611, allocations: 5.594 kB / 0.9537 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8611, allocations: 8.078 kB / 0.9537 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8612, allocations: 1.219 kB / 0.9537 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.435e-05/0.8613, allocations: 13.44 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8613, allocations: 0 / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.8613, allocations: 8.391 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.8613, allocations: 0.9688 kB / 0.9537 GB, free: 4.914 MB / 0.7169 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.45e-05/0.8614, allocations: 111 kB / 0.9538 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.8615, allocations: 2.438 kB / 0.9538 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.8617, allocations: 80.52 kB / 0.9539 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8617, allocations: 0 / 0.9539 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8617, allocations: 5.125 kB / 0.9539 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.8618, allocations: 0 / 0.9539 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.8619, allocations: 159 kB / 0.9541 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8619, allocations: 0 / 0.9541 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.862, allocations: 10.08 kB / 0.9541 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.862, allocations: 1.031 kB / 0.9541 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.862, allocations: 4.031 kB / 0.9541 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.862, allocations: 5.094 kB / 0.9541 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.862, allocations: 0 / 0.9541 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.8623, allocations: 168.4 kB / 0.9542 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.8623, allocations: 78.39 kB / 0.9543 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.8623, allocations: 1.219 kB / 0.9543 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.8624, allocations: 10.48 kB / 0.9543 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.8625, allocations: 6.594 kB / 0.9543 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.8625, allocations: 0 / 0.9543 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.8625, allocations: 84.58 kB / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8625, allocations: 0 / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002532/0.8628, allocations: 16.16 kB / 0.9544 GB, free: 4.172 MB / 0.7169 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.0002043/0.863, allocations: 120.2 kB / 0.9545 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.8632, allocations: 41.28 kB / 0.9546 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8633, allocations: 0 / 0.9546 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.8633, allocations: 20.3 kB / 0.9546 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.8637, allocations: 18.14 kB / 0.9546 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.864, allocations: 114.5 kB / 0.9547 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.8642, allocations: 0.6823 MB / 0.9554 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.8642, allocations: 5.484 kB / 0.9554 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.8642, allocations: 8.656 kB / 0.9554 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.8643, allocations: 0 / 0.9554 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.003249/0.8675, allocations: 0.6616 MB / 0.9561 GB, free: 2.852 MB / 0.7169 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