Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 103.8 kB / 16.36 MB, free: 5.547 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.001056/0.001056, allocations: 195.7 kB / 17.3 MB, free: 5.184 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.506/2.506, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 70.08 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2747, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001888/0.2766, allocations: 0.6094 MB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.2773, allocations: 345.1 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.2774, allocations: 0 / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.2774, allocations: 3.938 kB / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.807e-05/0.2775, allocations: 11.94 kB / 1.028 GB, free: 1.102 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.278, allocations: 119.4 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.278, allocations: 4 kB / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.2781, allocations: 0 / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.2781, allocations: 7.984 kB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.2782, allocations: 7.938 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2782, allocations: 4 kB / 1.028 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.2786, allocations: 271.6 kB / 1.028 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2786, allocations: 11.98 kB / 1.028 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.2786, allocations: 0 / 1.028 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2788, allocations: 95.8 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2788, allocations: 0 / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2788, allocations: 0 / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2788, allocations: 0 / 1.028 GB, free: 0.5938 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003984/0.2792, allocations: 343.5 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2793, allocations: 8.031 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.2794, allocations: 0.9375 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.2796, allocations: 168.4 kB / 1.029 GB, free: 16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2796, allocations: 384 / 1.029 GB, free: 16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.2796, allocations: 384 / 1.029 GB, free: 16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2797, allocations: 38.25 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2798, allocations: 192 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2798, allocations: 3.938 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2798, allocations: 4 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.262e-05/0.2798, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.28, allocations: 161.6 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/0.2801, allocations: 26.55 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.2801, allocations: 8.922 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007859/0.2809, allocations: 465.4 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.281, allocations: 34.56 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.281, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006068/0.2816, allocations: 254.2 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.2816, allocations: 51.41 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.2817, allocations: 102.1 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2817, allocations: 25.7 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.2818, allocations: 80.14 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.2818, allocations: 19.8 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.2819, allocations: 9.719 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.282, allocations: 318.8 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.282, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.368e-05/0.2821, allocations: 29.7 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.2821, allocations: 21.72 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2821, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.2822, allocations: 57.62 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2823, allocations: 11.94 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2823, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2823, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.2824, allocations: 8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2824, allocations: 4.062 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.2824, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.2824, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.828e-05/0.2825, allocations: 117.8 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.2826, allocations: 3.938 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.2827, allocations: 57.12 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2827, allocations: 0 / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2827, allocations: 8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2827, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2829, allocations: 157.7 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2829, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.2829, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2829, allocations: 7.922 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.283, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.283, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.283, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.2832, allocations: 89 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.2832, allocations: 81.02 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.2832, allocations: 3.938 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.2833, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.2833, allocations: 8.016 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2833, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.942e-05/0.2833, allocations: 79.28 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2833, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002136/0.2836, allocations: 24.16 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001976/0.2838, allocations: 131.2 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.526e-05/0.2839, allocations: 23.92 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2839, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.2839, allocations: 8 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.284, allocations: 3.938 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.2843, allocations: 113.9 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2845, allocations: 0.6808 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.2846, allocations: 4.328 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.2846, allocations: 11.44 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2846, allocations: 0 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of Templates: time 0.003426/0.288, allocations: 0.8647 MB / 1.033 GB, free: 11.38 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches