Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009643/0.009643, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001616/0.001616, allocations: 183.8 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 69.3 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3253, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001797/0.3272, allocations: 0.5764 MB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000761/0.3279, allocations: 327.1 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.328, allocations: 4 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.328, allocations: 4 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.017e-05/0.328, allocations: 0 / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.3286, allocations: 109.1 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.269e-05/0.3286, allocations: 0 / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.3287, allocations: 3.984 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.3287, allocations: 4 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.3287, allocations: 4 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3288, allocations: 0 / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.3292, allocations: 271.7 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.3292, allocations: 7.984 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.3293, allocations: 4 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.3295, allocations: 83.8 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3295, allocations: 0 / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.797e-06/0.3295, allocations: 0 / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.3295, allocations: 0 / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004571/0.33, allocations: 335.6 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.33, allocations: 8.031 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.3301, allocations: 4.875 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3303, allocations: 172.4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3303, allocations: 384 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3303, allocations: 384 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3304, allocations: 26.27 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3304, allocations: 192 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3305, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-06/0.3305, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.3305, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.3307, allocations: 149.7 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.942e-05/0.3308, allocations: 26.55 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.3308, allocations: 4.859 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006886/0.3315, allocations: 429.5 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.3316, allocations: 34.56 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3316, allocations: 0 / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000198/0.3318, allocations: 41.64 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.3319, allocations: 55.34 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.3319, allocations: 93.84 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.332, allocations: 25.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.332, allocations: 80.14 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3321, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.3321, allocations: 13.84 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002282/0.3324, allocations: 314.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.3324, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.3324, allocations: 3.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.3324, allocations: 12.86 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3324, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.093e-05/0.3325, allocations: 33.69 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3325, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3325, allocations: 4.094 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3326, allocations: 7.875 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.3326, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3326, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.101e-05/0.3327, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3327, allocations: 0 / 1.091 GB, free: 13.94 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 (1): * Single equations (assignments): 1 * 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 0.0001493/0.3328, allocations: 107.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.3328, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.333, allocations: 56.69 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.333, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.333, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.333, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.3331, allocations: 141.7 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3331, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.3331, allocations: 7.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3331, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3331, allocations: 3.938 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3331, allocations: 3.938 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3331, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/0.3332, allocations: 61.17 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.3333, allocations: 77.11 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3333, allocations: 7.922 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-06/0.3333, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.3333, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.3334, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.3334, allocations: 79.22 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3334, allocations: 4.031 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002242/0.3336, allocations: 8 kB / 1.092 GB, free: 13.29 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 (1): * Single equations (assignments): 1 * 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.0002065/0.3338, allocations: 119.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.586e-05/0.3339, allocations: 11.94 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3339, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.97e-06/0.334, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3341, allocations: 4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.3343, allocations: 81.11 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3346, allocations: 0.6767 MB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.614e-05/0.3346, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.3347, allocations: 7.438 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3347, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.002488/0.3372, allocations: 463.3 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches