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.0009242/0.0009244, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007795/0.007795, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.483/2.483, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004288, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.8661, allocations: 142.4 MB / 0.955 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001244/0.8674, allocations: 323.9 kB / 0.9554 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.8684, allocations: 347.8 kB / 0.9557 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.8685, allocations: 1.438 kB / 0.9557 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.8685, allocations: 0 / 0.9557 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-06/0.8685, allocations: 0 / 0.9557 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.869, allocations: 63.58 kB / 0.9557 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.8691, allocations: 5.344 kB / 0.9558 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.8692, allocations: 1.531 kB / 0.9558 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.8692, allocations: 7.922 kB / 0.9558 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.8692, allocations: 1.312 kB / 0.9558 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.8693, allocations: 0 / 0.9558 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.8698, allocations: 273.7 kB / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.8698, allocations: 0 / 0.956 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.8699, allocations: 34.83 kB / 0.9561 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.8701, allocations: 78.95 kB / 0.9561 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.8701, allocations: 4 kB / 0.9561 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.128e-06/0.8701, allocations: 1.094 kB / 0.9561 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8701, allocations: 0 / 0.9561 GB, free: 6.973 MB / 0.7169 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.0003437/0.8705, allocations: 334.4 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.8705, allocations: 9.375 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.8706, allocations: 2.031 kB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.838e-05/0.8707, allocations: 160.4 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.8707, allocations: 384 / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.8707, allocations: 1.188 kB / 0.9566 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.8708, allocations: 36.25 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8708, allocations: 192 / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.8709, allocations: 8.844 kB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8709, allocations: 0 / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.8709, allocations: 6.047 kB / 0.9567 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.871, allocations: 150.6 kB / 0.9568 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.24e-05/0.8711, allocations: 16.77 kB / 0.9568 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.8711, allocations: 9.828 kB / 0.9568 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.8716, allocations: 428.6 kB / 0.9572 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.8716, allocations: 35.67 kB / 0.9573 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.8716, allocations: 0 / 0.9573 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.8718, allocations: 39.08 kB / 0.9573 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.8718, allocations: 56.56 kB / 0.9574 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.692e-05/0.8719, allocations: 93.86 kB / 0.9575 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.8719, allocations: 25.7 kB / 0.9575 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.4e-05/0.8719, allocations: 81.08 kB / 0.9576 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.8719, allocations: 7.844 kB / 0.9576 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.872, allocations: 10.91 kB / 0.9576 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.872, allocations: 310.8 kB / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.872, allocations: 1.125 kB / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.8721, allocations: 5.281 kB / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.8721, allocations: 11.28 kB / 0.9579 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8721, allocations: 1.25 kB / 0.9579 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.26e-05/0.8722, allocations: 38.8 kB / 0.9579 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.8722, allocations: 4.75 kB / 0.9579 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8722, allocations: 1.219 kB / 0.9579 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8722, allocations: 3.938 kB / 0.9579 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.8723, allocations: 2.281 kB / 0.9579 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8723, allocations: 0 / 0.9579 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.8723, allocations: 4.094 kB / 0.9579 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.8723, allocations: 5.141 kB / 0.958 GB, free: 4.871 MB / 0.7169 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 5.615e-05/0.8724, allocations: 111.1 kB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.8724, allocations: 1.188 kB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.8725, allocations: 41.23 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8725, allocations: 5.094 kB / 0.9581 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8725, allocations: 0 / 0.9581 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8725, allocations: 11.91 kB / 0.9581 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.881e-05/0.8726, allocations: 146.9 kB / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.8726, allocations: 1.094 kB / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.8726, allocations: 1.281 kB / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8726, allocations: 1.094 kB / 0.9583 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.8726, allocations: 3.938 kB / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8726, allocations: 1.031 kB / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8726, allocations: 0 / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.213e-05/0.8727, allocations: 63.75 kB / 0.9583 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.8727, allocations: 77.11 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.8727, allocations: 5.375 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.8727, allocations: 0 / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.8728, allocations: 1.125 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.8728, allocations: 0 / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.748e-05/0.8728, allocations: 80.56 kB / 0.9585 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8728, allocations: 0 / 0.9585 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002068/0.873, allocations: 8.812 kB / 0.9585 GB, free: 4.25 MB / 0.7169 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.0002058/0.8732, allocations: 121.8 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.255e-05/0.8733, allocations: 3.375 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8733, allocations: 0 / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.8733, allocations: 2.438 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.8735, allocations: 4.969 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.8736, allocations: 76.5 kB / 0.9587 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.8738, allocations: 0.6702 MB / 0.9593 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.8738, allocations: 5.281 kB / 0.9593 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.8738, allocations: 12.56 kB / 0.9594 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8738, allocations: 0 / 0.9594 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.003163/0.877, allocations: 447.5 kB / 0.9598 GB, free: 3.113 MB / 0.7169 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