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.001467/0.001467, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001588/0.001588, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.319/2.319, allocations: 390.2 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 66.02 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2951, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002441/0.2976, allocations: 0.5748 MB / 0.9508 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.2986, allocations: 326.8 kB / 0.9512 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.2987, allocations: 4 kB / 0.9512 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.2987, allocations: 4 kB / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-06/0.2988, allocations: 0 / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.2995, allocations: 103.6 kB / 0.9513 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.15e-05/0.2995, allocations: 7.922 kB / 0.9513 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.2996, allocations: 4 kB / 0.9513 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.2996, allocations: 0 / 0.9513 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.433e-05/0.2996, allocations: 4 kB / 0.9513 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.2996, allocations: 0 / 0.9513 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.3001, allocations: 271.7 kB / 0.9515 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.3002, allocations: 0 / 0.9515 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.3002, allocations: 4 kB / 0.9515 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3004, allocations: 87.84 kB / 0.9516 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3005, allocations: 0 / 0.9516 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3005, allocations: 0 / 0.9516 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3005, allocations: 0 / 0.9516 GB, free: 7.484 MB / 0.7325 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.0003745/0.3009, allocations: 335.6 kB / 0.9519 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3009, allocations: 8.031 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.301, allocations: 4.922 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3011, allocations: 164.4 kB / 0.9521 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3012, allocations: 4.375 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.3012, allocations: 4.312 kB / 0.9521 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3013, allocations: 26.27 kB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3013, allocations: 192 / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3013, allocations: 7.922 kB / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3014, allocations: 4 kB / 0.9522 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.3014, allocations: 3.938 kB / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.3016, allocations: 155.8 kB / 0.9523 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.3016, allocations: 18.61 kB / 0.9523 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.3017, allocations: 4.859 kB / 0.9523 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006319/0.3023, allocations: 425.6 kB / 0.9527 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3024, allocations: 34.56 kB / 0.9528 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.3024, allocations: 0 / 0.9528 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002105/0.3026, allocations: 41.48 kB / 0.9528 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3026, allocations: 55.41 kB / 0.9529 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.3027, allocations: 93.84 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3027, allocations: 25.7 kB / 0.953 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.3027, allocations: 80.14 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.3028, allocations: 7.938 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.3028, allocations: 17.84 kB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.303, allocations: 310.8 kB / 0.9534 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.303, allocations: 0 / 0.9534 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.3031, allocations: 0 / 0.9534 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.3031, allocations: 8.859 kB / 0.9534 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3031, allocations: 0 / 0.9534 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.3032, allocations: 41.62 kB / 0.9534 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3032, allocations: 8 kB / 0.9534 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3032, allocations: 4.094 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3033, allocations: 3.938 kB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.3033, allocations: 0 / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3033, allocations: 0 / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.3033, allocations: 4 kB / 0.9534 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3034, allocations: 4 kB / 0.9534 GB, free: 5.301 MB / 0.7325 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 8.278e-05/0.3034, allocations: 107.8 kB / 0.9535 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.3035, allocations: 0 / 0.9535 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3036, allocations: 56.62 kB / 0.9536 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3036, allocations: 0 / 0.9536 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3036, allocations: 0 / 0.9536 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3036, allocations: 0 / 0.9536 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.3038, allocations: 145.7 kB / 0.9537 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3038, allocations: 0 / 0.9537 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.3038, allocations: 7.984 kB / 0.9537 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3038, allocations: 0 / 0.9537 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3038, allocations: 3.938 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3038, allocations: 0 / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3038, allocations: 4.031 kB / 0.9538 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.231e-05/0.3039, allocations: 57.14 kB / 0.9538 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.304, allocations: 81.38 kB / 0.9539 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.304, allocations: 3.938 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-06/0.304, allocations: 0 / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.304, allocations: 3.938 kB / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.304, allocations: 4 kB / 0.9539 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.3041, allocations: 79.31 kB / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3041, allocations: 0 / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002248/0.3043, allocations: 8 kB / 0.954 GB, free: 4.648 MB / 0.7325 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.0002258/0.3045, allocations: 115.2 kB / 0.9541 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.779e-05/0.3046, allocations: 4 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3046, allocations: 0 / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.3047, allocations: 0 / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.3048, allocations: 13.25 kB / 0.9541 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.3051, allocations: 106.8 kB / 0.9542 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3054, allocations: 0.6766 MB / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.3054, allocations: 11.38 kB / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.3054, allocations: 4 kB / 0.9549 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of Templates: time 0.002044/0.3075, allocations: 467.6 kB / 0.9553 GB, free: 3.199 MB / 0.7325 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/jenkins1/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