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.00712/0.00712, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001291/0.001291, allocations: 190.4 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.525/2.525, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 60.09 kB / 0.9508 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002461/0.3494, allocations: 1.434 MB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007011/0.3501, allocations: 383.5 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.3501, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.3502, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.3502, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.3507, allocations: 115.6 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.3507, allocations: 31.86 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.3508, allocations: 15.97 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.3509, allocations: 4 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.3509, allocations: 15.92 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3509, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.3513, allocations: 275.7 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.3513, allocations: 3.984 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.3514, allocations: 11.94 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3515, allocations: 107.8 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3516, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3516, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.3516, allocations: 0 / 1.09 GB, free: 15.1 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.0005337/0.3521, allocations: 367.4 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3522, allocations: 8.031 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.3522, allocations: 4.938 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3524, allocations: 172.3 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3524, allocations: 8.375 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.3524, allocations: 4.312 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3526, allocations: 54.17 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3526, allocations: 4.188 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3527, allocations: 7.875 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3527, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.3528, allocations: 31.97 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3532, allocations: 249 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3533, allocations: 46.44 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.3534, allocations: 28.89 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/0.3541, allocations: 457.5 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3542, allocations: 38.56 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.3542, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003881/0.3546, allocations: 81.64 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3546, allocations: 51.41 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.3547, allocations: 110 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3547, allocations: 25.7 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3548, allocations: 89.5 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3548, allocations: 11.83 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.3548, allocations: 13.72 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.355, allocations: 314.8 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.3551, allocations: 15.98 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.3551, allocations: 23.97 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3553, allocations: 36.83 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3553, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.3555, allocations: 69.59 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3555, allocations: 8 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3555, allocations: 96 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3556, allocations: 4 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.3557, allocations: 11.94 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3557, allocations: 3.984 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.3557, allocations: 4 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.3557, allocations: 0 / 1.093 GB, free: 12.47 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.894e-05/0.3558, allocations: 113.8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.3559, allocations: 7.906 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.3561, allocations: 81.11 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3561, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3561, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3561, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3563, allocations: 161.6 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3563, allocations: 3.984 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.3564, allocations: 8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3564, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3564, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3564, allocations: 7.969 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3564, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.3567, allocations: 171.4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.3567, allocations: 85.25 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.3567, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.3568, allocations: 12.03 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3569, allocations: 3.984 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3569, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.3569, allocations: 87.28 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3569, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002302/0.3571, allocations: 12 kB / 1.093 GB, free: 11.63 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.0001694/0.3573, allocations: 111.8 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3576, allocations: 43.91 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3576, allocations: 4 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.3577, allocations: 19.97 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.358, allocations: 7.938 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3583, allocations: 105.6 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3586, allocations: 0.6806 MB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.3586, allocations: 8.125 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.3586, allocations: 11.44 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3586, allocations: 0 / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of Templates: time 0.003203/0.3618, allocations: 0.716 MB / 1.095 GB, free: 9.875 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