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.001746/0.001746, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002366/0.002366, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 482.3 MB / 0.7543 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 73.94 kB / 0.9233 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 162.2 MB / 1.082 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001851/0.3399, allocations: 0.6416 MB / 1.082 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.3405, allocations: 334.8 kB / 1.083 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.3406, allocations: 4 kB / 1.083 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.3406, allocations: 0 / 1.083 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.3406, allocations: 0 / 1.083 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.3411, allocations: 91.84 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.529e-05/0.3411, allocations: 0 / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.3412, allocations: 0 / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.171e-05/0.3412, allocations: 3.938 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2e-05/0.3412, allocations: 8 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.3412, allocations: 0 / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.3416, allocations: 271.6 kB / 1.083 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.3416, allocations: 4 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.379e-05/0.3417, allocations: 0 / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.3418, allocations: 95.78 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3419, allocations: 0 / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3419, allocations: 0 / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3419, allocations: 0 / 1.083 GB, free: 12.21 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.0003655/0.3422, allocations: 327.6 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3423, allocations: 12.03 kB / 1.083 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.3423, allocations: 4.938 kB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3425, allocations: 164.4 kB / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.3425, allocations: 384 / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.3425, allocations: 384 / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.3426, allocations: 30.25 kB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3426, allocations: 192 / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.3426, allocations: 7.938 kB / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3426, allocations: 0 / 1.084 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.3427, allocations: 7.938 kB / 1.084 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.3428, allocations: 141.7 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.229e-05/0.3429, allocations: 22.61 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.3429, allocations: 12.78 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005776/0.3435, allocations: 425.6 kB / 1.084 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3435, allocations: 38.55 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3435, allocations: 0 / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001498/0.3437, allocations: 41.58 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3437, allocations: 51.41 kB / 1.084 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.353e-05/0.3438, allocations: 89.86 kB / 1.084 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3438, allocations: 25.7 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.3438, allocations: 80.14 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3439, allocations: 8.031 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3439, allocations: 17.72 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3441, allocations: 314.8 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.3441, allocations: 0 / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.3441, allocations: 3.938 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.3441, allocations: 8.859 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3441, allocations: 0 / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.995e-05/0.3442, allocations: 41.7 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3442, allocations: 4 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3442, allocations: 0 / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3443, allocations: 3.938 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-05/0.3443, allocations: 4 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3443, allocations: 0 / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.3443, allocations: 3.984 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3443, allocations: 0 / 1.085 GB, free: 10.04 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 8.513e-05/0.3444, allocations: 109.8 kB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.3444, allocations: 4.031 kB / 1.085 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.314e-05/0.3445, allocations: 44.98 kB / 1.085 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3446, allocations: 4 kB / 1.085 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3446, allocations: 0 / 1.085 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3446, allocations: 3.984 kB / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3447, allocations: 145.7 kB / 1.085 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3447, allocations: 0 / 1.085 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.3447, allocations: 4 kB / 1.085 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3447, allocations: 0 / 1.085 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3447, allocations: 7.969 kB / 1.085 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.3447, allocations: 0 / 1.085 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3447, allocations: 0 / 1.085 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.247e-05/0.3448, allocations: 57.12 kB / 1.085 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.3449, allocations: 81.05 kB / 1.085 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.3449, allocations: 3.938 kB / 1.085 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-06/0.3449, allocations: 0 / 1.085 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3449, allocations: 8 kB / 1.085 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.345, allocations: 7.969 kB / 1.085 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.22e-05/0.345, allocations: 79.22 kB / 1.085 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.345, allocations: 0 / 1.085 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001959/0.3452, allocations: 15.98 kB / 1.086 GB, free: 9.375 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.0001837/0.3454, allocations: 107.2 kB / 1.086 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.074e-05/0.3455, allocations: 4 kB / 1.086 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3455, allocations: 3.938 kB / 1.086 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.3455, allocations: 8.062 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.3456, allocations: 3.766 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.3458, allocations: 91.91 kB / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3462, allocations: 0.6729 MB / 1.086 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.812e-05/0.3462, allocations: 3.984 kB / 1.086 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.3462, allocations: 7.438 kB / 1.086 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of SimCode: time 2.284e-06/0.3462, allocations: 0 / 1.086 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of Templates: time 0.002689/0.3489, allocations: 468.4 kB / 1.087 GB, free: 7.961 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/jenkins/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