Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 182.3 kB / 0.4902 GB, free: 2.293 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.1 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008617/0.0008617, allocations: 84.34 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 12.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.5405, allocations: 150.2 MB / 1.376 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5408, allocations: 75.95 kB / 1.376 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.5556, allocations: 5.124 MB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5557, allocations: 0 / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.5557, allocations: 4 kB / 1.381 GB, free: 14.19 MB / 0.8855 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.0004264/0.5561, allocations: 356 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.5562, allocations: 12.55 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.5563, allocations: 11.91 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.5564, allocations: 170.9 kB / 1.382 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5564, allocations: 8 kB / 1.382 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.5565, allocations: 4 kB / 1.382 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.5566, allocations: 45.69 kB / 1.382 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5566, allocations: 0 / 1.382 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5566, allocations: 0 / 1.382 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.5567, allocations: 4 kB / 1.382 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.5567, allocations: 15.98 kB / 1.382 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.5569, allocations: 177.6 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.5571, allocations: 58.5 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.5578, allocations: 461.6 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5578, allocations: 34.56 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.5578, allocations: 0 / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001269/0.5591, allocations: 0.599 MB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5591, allocations: 51.41 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.5592, allocations: 92.98 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5592, allocations: 33.64 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.5593, allocations: 84.08 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.5593, allocations: 39.44 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.5593, allocations: 8 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5594, allocations: 318.7 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.5595, allocations: 27.98 kB / 1.383 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.5595, allocations: 19.98 kB / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.5596, allocations: 27.75 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5596, allocations: 0 / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001473/0.5597, allocations: 97.59 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5598, allocations: 4 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5598, allocations: 0 / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5598, allocations: 0 / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5599, allocations: 27.92 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5599, allocations: 0 / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.5599, allocations: 8.062 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.56, allocations: 4.094 kB / 1.384 GB, free: 11.05 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.28e-05/0.56, allocations: 117.7 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.5601, allocations: 4 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.5603, allocations: 117.5 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5603, allocations: 0 / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5603, allocations: 0 / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5603, allocations: 0 / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.5607, allocations: 354.5 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5607, allocations: 0 / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.5608, allocations: 23.92 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5608, allocations: 0 / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5609, allocations: 8 kB / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5609, allocations: 0 / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5609, allocations: 320 / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.5612, allocations: 219.3 kB / 1.384 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.5612, allocations: 89.03 kB / 1.385 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.5613, allocations: 7.984 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.5613, allocations: 4 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.5614, allocations: 4 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.5614, allocations: 4 kB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.5614, allocations: 83.27 kB / 1.385 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5614, allocations: 0 / 1.385 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002817/0.5617, allocations: 55.88 kB / 1.385 GB, free: 9.875 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002866/0.562, allocations: 167.9 kB / 1.385 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.5621, allocations: 51.98 kB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5622, allocations: 4 kB / 1.385 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.5622, allocations: 35.92 kB / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.5624, allocations: 3.953 kB / 1.385 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.5627, allocations: 199 kB / 1.385 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.563, allocations: 0.6926 MB / 1.386 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.315e-05/0.563, allocations: 11.92 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.5631, allocations: 19.42 kB / 1.386 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5631, allocations: 0 / 1.386 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of Templates: time 0.003597/0.5667, allocations: 1.295 MB / 1.387 GB, free: 7.348 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches