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.00173/0.00173, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.002007/0.002007, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.07 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.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001661/1.023, allocations: 0.585 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006316/1.024, allocations: 324.2 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/1.024, allocations: 0 / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/1.024, allocations: 5.312 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/1.024, allocations: 0 / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/1.024, allocations: 102.3 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.02e-05/1.024, allocations: 1.281 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/1.025, allocations: 2.641 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/1.025, allocations: 0 / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.34e-05/1.025, allocations: 5.359 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/1.025, allocations: 0 / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/1.025, allocations: 280.8 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/1.025, allocations: 4.547 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/1.025, allocations: 1.281 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/1.025, allocations: 83.41 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.025, allocations: 0 / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/1.025, allocations: 0 / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.025, allocations: 0 / 1.09 GB, free: 4.785 MB / 0.8575 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.0002458/1.026, allocations: 336.6 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.026, allocations: 13.53 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/1.026, allocations: 1.969 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.552e-05/1.026, allocations: 165.7 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/1.026, allocations: 1.406 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/1.026, allocations: 384 / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.915e-05/1.026, allocations: 29.61 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/1.026, allocations: 4.125 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/1.026, allocations: 5.062 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/1.026, allocations: 0 / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/1.026, allocations: 2.859 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/1.026, allocations: 152 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/1.026, allocations: 24.28 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/1.026, allocations: 7.109 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/1.027, allocations: 424.6 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/1.027, allocations: 40.52 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.027, allocations: 0 / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001467/1.027, allocations: 35.98 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/1.027, allocations: 57.02 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.748e-05/1.027, allocations: 89.86 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/1.027, allocations: 26.8 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.215e-05/1.027, allocations: 84.14 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/1.027, allocations: 1.734 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/1.027, allocations: 11.66 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/1.027, allocations: 316.7 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/1.027, allocations: 1.281 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/1.027, allocations: 1.312 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/1.027, allocations: 7.969 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.027, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.299e-05/1.027, allocations: 37.02 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.027, allocations: 5.25 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.027, allocations: 8.75 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.027, allocations: 3.938 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.458e-05/1.027, allocations: 2.891 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/1.027, allocations: 0.7031 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/1.027, allocations: 0.8438 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/1.027, allocations: 0.75 kB / 1.092 GB, free: 2.719 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 4.391e-05/1.027, allocations: 107.4 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/1.027, allocations: 1.766 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/1.027, allocations: 47.92 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.027, allocations: 4.641 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.027, allocations: 0.875 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.027, allocations: 0 / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.623e-05/1.027, allocations: 148.1 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/1.027, allocations: 1.281 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/1.027, allocations: 2.625 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.027, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.027, allocations: 8.594 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.027, allocations: 5.016 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.027, allocations: 8.719 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.335e-05/1.028, allocations: 57.88 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/1.028, allocations: 82.69 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/1.028, allocations: 4.844 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/1.028, allocations: 0 / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/1.028, allocations: 1.891 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/1.028, allocations: 0 / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.426e-05/1.028, allocations: 80.28 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.028, allocations: 0 / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000215/1.028, allocations: 9.828 kB / 1.092 GB, free: 2.098 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.0001791/1.028, allocations: 112.8 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.35e-05/1.028, allocations: 7.938 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.028, allocations: 0 / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/1.028, allocations: 3.141 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/1.028, allocations: 9.703 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001718/1.028, allocations: 110 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/1.029, allocations: 0.6707 MB / 1.093 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/1.029, allocations: 9.297 kB / 1.093 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.029, allocations: 0 / 1.093 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.001912/1.031, allocations: 469.5 kB / 1.094 GB, free: 17.14 MB / 0.8731 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