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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001241/0.001241, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.00132/0.00132, allocations: 192 kB / 17.29 MB, free: 5.48 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.438/2.438, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 70.81 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001836/0.2797, allocations: 0.5885 MB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006298/0.2804, allocations: 333.2 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.2804, allocations: 0 / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.2805, allocations: 8 kB / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.2805, allocations: 0 / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.281, allocations: 111.6 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.281, allocations: 4 kB / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.2811, allocations: 0 / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.173e-05/0.2811, allocations: 0 / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.003e-05/0.2811, allocations: 4 kB / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.006e-06/0.2811, allocations: 0 / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.2815, allocations: 279.6 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.2816, allocations: 3.984 kB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.2816, allocations: 4 kB / 1.028 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.2818, allocations: 83.8 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2818, allocations: 4 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2818, allocations: 0 / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2818, allocations: 0 / 1.028 GB, free: 0.6133 MB / 0.795 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.0002816/0.2821, allocations: 331.6 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2821, allocations: 8.031 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.2822, allocations: 4.938 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.755e-05/0.2822, allocations: 164.4 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2823, allocations: 4.375 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.2823, allocations: 384 / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/0.2824, allocations: 34.19 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2824, allocations: 4.172 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2824, allocations: 7.938 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2824, allocations: 0 / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.2825, allocations: 3.938 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.2826, allocations: 149.7 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.2826, allocations: 18.61 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.2826, allocations: 4.859 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/0.2831, allocations: 429.5 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2832, allocations: 38.5 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2832, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.2833, allocations: 41.64 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.2833, allocations: 51.41 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.109e-05/0.2834, allocations: 89.86 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.2834, allocations: 25.7 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.2834, allocations: 80.14 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.2835, allocations: 0 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2835, allocations: 17.84 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.2836, allocations: 314.8 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.036e-06/0.2836, allocations: 3.938 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.2836, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.2836, allocations: 16.8 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2836, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.932e-05/0.2837, allocations: 33.7 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2837, allocations: 4 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2838, allocations: 4.094 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2838, allocations: 3.938 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.92e-05/0.2838, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2838, allocations: 3.984 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.2838, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.2838, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 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.571e-05/0.2839, allocations: 109.8 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.2839, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.284, allocations: 52.7 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.284, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.284, allocations: 3.984 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.284, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.345e-05/0.2841, allocations: 141.7 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2841, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.2842, allocations: 4 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2842, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.2842, allocations: 3.938 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2842, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2842, allocations: 0 / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.476e-05/0.2843, allocations: 69.09 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.2843, allocations: 81.05 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2843, allocations: 11.88 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-06/0.2843, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.2843, allocations: 4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.2844, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.2844, allocations: 79.31 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2844, allocations: 0 / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002166/0.2846, allocations: 11.98 kB / 1.03 GB, free: 13.77 MB / 0.8106 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.0001597/0.2848, allocations: 115.2 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.869e-05/0.2848, allocations: 11.94 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2848, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.252e-06/0.2849, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.285, allocations: 4 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.2852, allocations: 85.03 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2854, allocations: 0.669 MB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.523e-05/0.2854, allocations: 4 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.2854, allocations: 7.438 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2854, allocations: 0 / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of Templates: time 0.002396/0.2878, allocations: 468.2 kB / 1.032 GB, free: 12.36 MB / 0.8106 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=480 -s gbode -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