Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001673/0.001674, allocations: 106.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.001837/0.001837, allocations: 190.3 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.49/1.49, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 69.67 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9604/0.9624, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00225/0.9647, allocations: 0.5832 MB / 1.083 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006933/0.9654, allocations: 326.2 kB / 1.084 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.9655, allocations: 1.062 kB / 1.084 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.9655, allocations: 3.938 kB / 1.084 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.9655, allocations: 0 / 1.084 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.966, allocations: 114 kB / 1.084 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.9661, allocations: 5.75 kB / 1.084 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.9661, allocations: 1.125 kB / 1.084 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.709e-05/0.9662, allocations: 0.875 kB / 1.084 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.579e-05/0.9662, allocations: 5.047 kB / 1.084 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.9662, allocations: 0 / 1.084 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005187/0.9667, allocations: 272.9 kB / 1.084 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.9668, allocations: 0.75 kB / 1.084 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.9668, allocations: 8.719 kB / 1.084 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.967, allocations: 80.58 kB / 1.084 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.967, allocations: 0 / 1.084 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.967, allocations: 0 / 1.084 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.967, allocations: 0.5 kB / 1.084 GB, free: 0.9141 MB / 0.8262 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.0002966/0.9673, allocations: 337.5 kB / 1.085 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9674, allocations: 9.531 kB / 1.085 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.9674, allocations: 2.031 kB / 1.085 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.598e-05/0.9675, allocations: 162.2 kB / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.9675, allocations: 5.156 kB / 1.085 GB, free: 356 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.9675, allocations: 1.156 kB / 1.085 GB, free: 356 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.908e-05/0.9676, allocations: 32.94 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9677, allocations: 4.125 kB / 1.085 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.9677, allocations: 3.938 kB / 1.085 GB, free: 312 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.9677, allocations: 1.922 kB / 1.085 GB, free: 312 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.9677, allocations: 1.062 kB / 1.085 GB, free: 312 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.9678, allocations: 149.6 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.583e-05/0.9679, allocations: 20.08 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.9679, allocations: 6.453 kB / 1.085 GB, free: 80 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/0.9685, allocations: 429.9 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.9686, allocations: 31.41 kB / 1.085 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 3.567e-06/0.9686, allocations: 4 kB / 1.085 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.000171/0.9687, allocations: 41.23 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.9688, allocations: 51.41 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.9689, allocations: 91.2 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.9689, allocations: 25.7 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.9689, allocations: 80.94 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.969, allocations: 5.703 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.969, allocations: 11.95 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9692, allocations: 315 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.9692, allocations: 2.078 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.9692, allocations: 4.844 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.9692, allocations: 12.8 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.9693, allocations: 0 / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.008e-05/0.9693, allocations: 32.45 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.9694, allocations: 5.531 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.9694, allocations: 0 / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.9694, allocations: 9.719 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.9694, allocations: 6.031 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.9695, allocations: 0 / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.9695, allocations: 0.6094 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.9695, allocations: 0.8125 kB / 1.086 GB, free: 14.85 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.741e-05/0.9696, allocations: 108 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.9696, allocations: 6.719 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.791e-05/0.9697, allocations: 49.55 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9697, allocations: 4.031 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.9697, allocations: 4.656 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9697, allocations: 0.5938 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.9699, allocations: 144.6 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9699, allocations: 0.7188 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.9699, allocations: 1.75 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.9699, allocations: 2.141 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.9699, allocations: 3.938 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9699, allocations: 0 / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.9699, allocations: 5.328 kB / 1.086 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.943e-05/0.9701, allocations: 65.53 kB / 1.086 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.9702, allocations: 78.52 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.9702, allocations: 4.641 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.9702, allocations: 0.9062 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.9702, allocations: 0.8906 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.9703, allocations: 1.156 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.9703, allocations: 75.28 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.9703, allocations: 4.031 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002234/0.9705, allocations: 15.36 kB / 1.087 GB, free: 14.23 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.0003178/0.9709, allocations: 107.5 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.426e-05/0.9709, allocations: 8.031 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.971, allocations: 1.094 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.971, allocations: 6.031 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.9711, allocations: 1.766 kB / 1.087 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.9714, allocations: 117 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.9717, allocations: 0.6761 MB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.9718, allocations: 8.438 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.9718, allocations: 3.938 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.002374/0.9742, allocations: 466.5 kB / 1.088 GB, free: 13.27 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches