Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, 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.008153/0.008153, 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.927/2.927, allocations: 470.6 MB / 0.7442 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 20.61 kB / 0.9123 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 161.4 MB / 1.07 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007757/0.3328, allocations: 358.7 kB / 1.07 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000745/0.3336, allocations: 376.5 kB / 1.071 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.465e-05/0.3336, allocations: 0 / 1.071 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.055e-05/0.3336, allocations: 0 / 1.071 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.181e-05/0.3337, allocations: 0 / 1.071 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.334, allocations: 84.78 kB / 1.071 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.3341, allocations: 19.98 kB / 1.071 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.3341, allocations: 7.984 kB / 1.071 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.3342, allocations: 7.938 kB / 1.071 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.3342, allocations: 19.91 kB / 1.071 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3343, allocations: 0 / 1.071 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.3347, allocations: 275.7 kB / 1.071 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.3347, allocations: 7.984 kB / 1.071 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.3347, allocations: 37.64 kB / 1.071 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3349, allocations: 99.77 kB / 1.071 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.335, allocations: 0 / 1.071 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.717e-06/0.335, allocations: 4 kB / 1.071 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.335, allocations: 0 / 1.071 GB, free: 10.18 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004368/0.3354, allocations: 355.8 kB / 1.071 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3355, allocations: 12.03 kB / 1.071 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.3355, allocations: 8.781 kB / 1.071 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3357, allocations: 168.4 kB / 1.072 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3357, allocations: 8.375 kB / 1.072 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3357, allocations: 4.375 kB / 1.072 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3358, allocations: 50.23 kB / 1.072 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3359, allocations: 192 / 1.072 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3359, allocations: 7.938 kB / 1.072 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3359, allocations: 3.938 kB / 1.072 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/0.3359, allocations: 19.98 kB / 1.072 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.3362, allocations: 165.7 kB / 1.072 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3363, allocations: 58.5 kB / 1.072 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.3363, allocations: 28.84 kB / 1.072 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007386/0.3371, allocations: 469.5 kB / 1.072 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3371, allocations: 30.56 kB / 1.072 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3371, allocations: 4 kB / 1.072 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001311/0.3384, allocations: 0.5916 MB / 1.073 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3385, allocations: 55.41 kB / 1.073 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.3386, allocations: 97.86 kB / 1.073 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3386, allocations: 29.73 kB / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.3387, allocations: 92.06 kB / 1.073 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.3387, allocations: 31.47 kB / 1.073 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.3387, allocations: 21.7 kB / 1.073 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3389, allocations: 318.8 kB / 1.074 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.339, allocations: 19.98 kB / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.339, allocations: 25.36 kB / 1.074 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.3391, allocations: 53.86 kB / 1.074 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3391, allocations: 0 / 1.074 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001716/0.3393, allocations: 105.5 kB / 1.074 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3393, allocations: 9.391 kB / 1.074 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3393, allocations: 0 / 1.074 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3393, allocations: 0 / 1.074 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3395, allocations: 23.94 kB / 1.074 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3395, allocations: 3.984 kB / 1.074 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.3395, allocations: 0 / 1.074 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3395, allocations: 12 kB / 1.074 GB, free: 6.938 MB / 0.8262 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 (13): * Single equations (assignments): 13 * 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 9.644e-05/0.3396, allocations: 117.8 kB / 1.074 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.3396, allocations: 7.938 kB / 1.074 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.3399, allocations: 101.8 kB / 1.074 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.3399, allocations: 3.984 kB / 1.074 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3399, allocations: 4 kB / 1.074 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3399, allocations: 3.984 kB / 1.074 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.3403, allocations: 362.5 kB / 1.074 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3403, allocations: 0 / 1.074 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.3404, allocations: 19.94 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.3405, allocations: 4 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3405, allocations: 0 / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3405, allocations: 0 / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3405, allocations: 3.984 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.3408, allocations: 220.7 kB / 1.075 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.3409, allocations: 97.09 kB / 1.075 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3409, allocations: 0 / 1.075 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.341, allocations: 3.938 kB / 1.075 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.341, allocations: 15.92 kB / 1.075 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.341, allocations: 4 kB / 1.075 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.3411, allocations: 79.28 kB / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3411, allocations: 0 / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002776/0.3414, allocations: 43.98 kB / 1.075 GB, free: 5.762 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002453/0.3416, allocations: 143.2 kB / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.3418, allocations: 63.86 kB / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3418, allocations: 0 / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.3418, allocations: 31.98 kB / 1.075 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.3421, allocations: 6.75 kB / 1.075 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.3424, allocations: 198.8 kB / 1.075 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3428, allocations: 0.6926 MB / 1.076 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.703e-05/0.3428, allocations: 4 kB / 1.076 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.3429, allocations: 15.38 kB / 1.076 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3429, allocations: 0 / 1.076 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of Templates: time 0.004339/0.3472, allocations: 1.376 MB / 1.077 GB, free: 3.184 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches