Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 387.1 MB / 399.7 MB, free: 9.551 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.001031/0.001031, allocations: 176.9 kB / 492.3 MB, free: 0.6289 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.603/1.603, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008624/0.0008625, allocations: 83.89 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.331e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3144, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.328, allocations: 149.3 MB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.328, allocations: 77.69 kB / 1.358 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02654/1.355, allocations: 5.114 MB / 1.363 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.314e-06/1.355, allocations: 0 / 1.363 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.355, allocations: 0 / 1.363 GB, free: 34.36 MB / 0.8386 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.0004391/1.355, allocations: 361.2 kB / 1.364 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.355, allocations: 11.66 kB / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/1.355, allocations: 8.375 kB / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/1.356, allocations: 172.6 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.356, allocations: 7.719 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/1.356, allocations: 3.844 kB / 1.364 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/1.356, allocations: 43.8 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.356, allocations: 3.844 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.356, allocations: 0 / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/1.356, allocations: 0 / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/1.356, allocations: 20.88 kB / 1.364 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/1.356, allocations: 174.2 kB / 1.364 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/1.356, allocations: 60.94 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/1.356, allocations: 27.08 kB / 1.364 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/1.357, allocations: 460.4 kB / 1.365 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/1.357, allocations: 37.34 kB / 1.365 GB, free: 33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/1.357, allocations: 0 / 1.365 GB, free: 33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.001335/1.359, allocations: 0.5605 MB / 1.365 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/1.359, allocations: 60.3 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/1.359, allocations: 94.27 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/1.359, allocations: 28.95 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.963e-05/1.359, allocations: 80.14 kB / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.359, allocations: 36.64 kB / 1.365 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/1.359, allocations: 0 / 1.365 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.359, allocations: 323.9 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/1.359, allocations: 23.41 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/1.359, allocations: 22.03 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/1.359, allocations: 22.94 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/1.359, allocations: 0 / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001964/1.359, allocations: 93.16 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.359, allocations: 7.719 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.359, allocations: 0 / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.359, allocations: 0 / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.36, allocations: 25.97 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.36, allocations: 0 / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/1.36, allocations: 5.219 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/1.36, allocations: 7.344 kB / 1.366 GB, free: 31.88 MB / 0.8386 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 () * 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 7.446e-05/1.36, allocations: 108.9 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/1.36, allocations: 7.719 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/1.36, allocations: 105 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.36, allocations: 3.969 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.36, allocations: 0 / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/1.36, allocations: 5.391 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/1.36, allocations: 357.1 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.361, allocations: 96 / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/1.361, allocations: 30.08 kB / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.361, allocations: 0 / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.361, allocations: 3.938 kB / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.361, allocations: 3.812 kB / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.361, allocations: 0 / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/1.361, allocations: 221.9 kB / 1.367 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/1.361, allocations: 88.03 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/1.361, allocations: 3.906 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/1.361, allocations: 3.062 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/1.361, allocations: 7.109 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/1.361, allocations: 3.812 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.862e-05/1.361, allocations: 79.25 kB / 1.367 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.3e-07/1.361, allocations: 3.938 kB / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005075/1.362, allocations: 56.77 kB / 1.367 GB, free: 31.07 MB / 0.8386 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 () * 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.0003147/1.362, allocations: 160.4 kB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001751/1.362, allocations: 64.66 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.362, allocations: 0 / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/1.363, allocations: 33.14 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/1.363, allocations: 3.953 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/1.363, allocations: 127.9 kB / 1.367 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/1.363, allocations: 0.6936 MB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.048e-05/1.364, allocations: 10.17 kB / 1.368 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/1.364, allocations: 15.16 kB / 1.368 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.364, allocations: 3.938 kB / 1.368 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.004179/1.368, allocations: 1.31 MB / 1.369 GB, free: 30.04 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches