Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001242/0.001242, allocations: 108 kB / 15.99 MB, free: 6.348 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.001239/0.001239, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.724/2.724, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.84 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3127, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001888/0.3146, allocations: 0.6463 MB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006455/0.3153, allocations: 330.9 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.405e-05/0.3153, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.3153, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.3153, allocations: 0 / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.3158, allocations: 99.53 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.472e-05/0.3158, allocations: 3.984 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.3159, allocations: 3.984 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.3159, allocations: 8 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.788e-05/0.3159, allocations: 0 / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.3159, allocations: 0 / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.3163, allocations: 271.7 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.525e-06/0.3164, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.454e-05/0.3164, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3165, allocations: 59.84 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3165, allocations: 0 / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3165, allocations: 0 / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3165, allocations: 0 / 1.066 GB, free: 13.65 MB / 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.0003491/0.3169, allocations: 335.6 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3169, allocations: 8.031 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.317, allocations: 12.92 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3171, allocations: 160.4 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3171, allocations: 384 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.3172, allocations: 384 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.24e-05/0.3173, allocations: 30.27 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3173, allocations: 4.125 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3173, allocations: 3.938 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3173, allocations: 4 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.3173, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.3175, allocations: 149.7 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.3175, allocations: 18.61 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.3175, allocations: 8.844 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/0.3181, allocations: 429.6 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3181, allocations: 30.56 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 3.196e-06/0.3181, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.3183, allocations: 41.58 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3183, allocations: 63.33 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.515e-05/0.3184, allocations: 89.86 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3184, allocations: 25.7 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.3184, allocations: 84.27 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3185, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3185, allocations: 13.72 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3186, allocations: 310.8 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.3187, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.3187, allocations: 3.938 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.3187, allocations: 16.8 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3187, allocations: 4.062 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.183e-05/0.3188, allocations: 37.69 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3188, allocations: 4 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3188, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3188, allocations: 3.938 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.733e-05/0.3189, allocations: 4 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.3189, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-06/0.3189, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.3189, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 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 7.584e-05/0.319, allocations: 111.2 kB / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.319, allocations: 4 kB / 1.067 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.035e-05/0.3191, allocations: 48.97 kB / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3191, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3191, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.3191, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.3193, allocations: 145.7 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3193, allocations: 7.984 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.3193, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3193, allocations: 4.031 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3193, allocations: 3.938 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3193, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3193, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.28e-05/0.3194, allocations: 61.08 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.3195, allocations: 88.94 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3195, allocations: 3.938 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.3195, allocations: 4 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-06/0.3195, allocations: 4.031 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.3195, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.3196, allocations: 75.28 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3196, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001971/0.3198, allocations: 12 kB / 1.068 GB, free: 10.8 MB / 0.8419 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.0001786/0.3199, allocations: 111.2 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.349e-05/0.32, allocations: 11.94 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.32, allocations: 8 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-06/0.32, allocations: 4 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.3202, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.3204, allocations: 106.6 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3207, allocations: 0.6768 MB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.3207, allocations: 7.438 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3207, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of Templates: time 0.002019/0.3227, allocations: 471.7 kB / 1.069 GB, free: 9.352 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches