Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_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.008568/0.008568, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001945/0.001946, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8794, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002793/0.8823, allocations: 1.437 MB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.883, allocations: 386 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.8831, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.8831, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.8832, allocations: 3.938 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.8837, allocations: 119.6 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.8838, allocations: 27.97 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.8839, allocations: 15.91 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.944e-05/0.8839, allocations: 7.938 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.884, allocations: 15.92 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.884, allocations: 4 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.8844, allocations: 271.7 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.8844, allocations: 3.984 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.8845, allocations: 15.94 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.8847, allocations: 116.2 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8847, allocations: 0 / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8847, allocations: 0 / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8848, allocations: 0 / 1.169 GB, free: 1.449 MB / 0.8887 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.0004704/0.8852, allocations: 363.2 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.8853, allocations: 12.92 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.8853, allocations: 0.9375 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.8855, allocations: 168.3 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.8855, allocations: 12.38 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.8855, allocations: 384 / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.8857, allocations: 50.23 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.8857, allocations: 192 / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.8857, allocations: 7.875 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8858, allocations: 0 / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.8859, allocations: 31.97 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.8863, allocations: 252.9 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.8864, allocations: 46.44 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.963e-05/0.8865, allocations: 24.89 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007193/0.8872, allocations: 461.4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.8873, allocations: 38.5 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8873, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0003775/0.8877, allocations: 81.64 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.8877, allocations: 55.41 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.8878, allocations: 109.8 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.8878, allocations: 25.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.8879, allocations: 84.14 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.8879, allocations: 7.938 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.8879, allocations: 17.72 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.888, allocations: 315 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.15e-05/0.8881, allocations: 15.98 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.8882, allocations: 19.97 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.8884, allocations: 44.77 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8884, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002158/0.8886, allocations: 73.66 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8886, allocations: 4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.8886, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8887, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.8887, allocations: 8 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.8888, allocations: 3.984 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.543e-05/0.8888, allocations: 7.953 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.8888, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 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.786e-05/0.8889, allocations: 113.8 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.889, allocations: 8 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.8892, allocations: 77.11 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8892, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8892, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8892, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.8894, allocations: 161.6 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.8894, allocations: 8.016 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.8895, allocations: 8 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.8895, allocations: 3.938 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.8895, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8895, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8895, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.8898, allocations: 175.4 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.8898, allocations: 85.05 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.8899, allocations: 0 / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.8899, allocations: 7.984 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.89, allocations: 3.984 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.89, allocations: 4.25 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.8901, allocations: 91.22 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8901, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002474/0.8903, allocations: 15.94 kB / 1.172 GB, free: 13.98 MB / 0.9044 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.000189/0.8905, allocations: 115.2 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.8908, allocations: 35.97 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8908, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.8909, allocations: 27.91 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.8912, allocations: 4.062 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.8915, allocations: 117.4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.8918, allocations: 0.6768 MB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.8918, allocations: 0 / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.8918, allocations: 11.44 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.8918, allocations: 0 / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.003078/0.8949, allocations: 0.7106 MB / 1.174 GB, free: 12.23 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches