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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.725/2.725, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.00121/0.00121, allocations: 181.2 kB / 498.1 MB, free: 5.688 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.68/1.68, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0013/0.0013, allocations: 96.31 kB / 0.9346 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 10.38 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.5443, allocations: 149.4 MB / 1.369 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.5447, allocations: 79.89 kB / 1.369 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.5602, allocations: 5.127 MB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5603, allocations: 0 / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.5603, allocations: 0 / 1.374 GB, free: 14.68 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.0005024/0.5608, allocations: 371.2 kB / 1.374 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.5609, allocations: 8.031 kB / 1.374 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.561, allocations: 30.56 kB / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.5611, allocations: 4 kB / 1.374 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.5612, allocations: 171 kB / 1.374 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.5612, allocations: 8 kB / 1.374 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.5613, allocations: 4 kB / 1.374 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.5614, allocations: 49.67 kB / 1.375 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.5615, allocations: 0 / 1.375 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.5615, allocations: 4 kB / 1.375 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.5615, allocations: 3.984 kB / 1.375 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.5616, allocations: 19.98 kB / 1.375 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.5618, allocations: 173.5 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.5619, allocations: 62.56 kB / 1.375 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006718/0.5626, allocations: 465.5 kB / 1.375 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.5627, allocations: 34.56 kB / 1.375 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.5627, allocations: 3.938 kB / 1.375 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001412/0.5641, allocations: 0.5841 MB / 1.376 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5641, allocations: 55.41 kB / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.5642, allocations: 89 kB / 1.376 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.5642, allocations: 29.7 kB / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.5643, allocations: 80.14 kB / 1.376 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.5643, allocations: 39.45 kB / 1.376 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.5643, allocations: 7.938 kB / 1.376 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5645, allocations: 322.7 kB / 1.376 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.5645, allocations: 24 kB / 1.376 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.5646, allocations: 23.98 kB / 1.376 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.5646, allocations: 24 kB / 1.377 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5646, allocations: 4 kB / 1.377 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001659/0.5648, allocations: 89.59 kB / 1.377 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5648, allocations: 4 kB / 1.377 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5648, allocations: 3.984 kB / 1.377 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5649, allocations: 0 / 1.377 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.565, allocations: 23.94 kB / 1.377 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.565, allocations: 0 / 1.377 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.565, allocations: 4 kB / 1.377 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.565, allocations: 8 kB / 1.377 GB, free: 11.5 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 9.862e-05/0.5652, allocations: 121.8 kB / 1.377 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.5652, allocations: 0 / 1.377 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.5654, allocations: 117.5 kB / 1.377 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5654, allocations: 0 / 1.377 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5654, allocations: 3.938 kB / 1.377 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5654, allocations: 3.984 kB / 1.377 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.5659, allocations: 354.5 kB / 1.377 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5659, allocations: 0 / 1.377 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.566, allocations: 19.94 kB / 1.377 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.566, allocations: 0 / 1.377 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5661, allocations: 8 kB / 1.377 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5661, allocations: 0 / 1.377 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5661, allocations: 0 / 1.377 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.5664, allocations: 223.7 kB / 1.377 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.5664, allocations: 81.16 kB / 1.378 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.5665, allocations: 8.188 kB / 1.378 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.5665, allocations: 4 kB / 1.378 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.5666, allocations: 11.97 kB / 1.378 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.5666, allocations: 8 kB / 1.378 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.5666, allocations: 79.28 kB / 1.378 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5666, allocations: 0 / 1.378 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003355/0.567, allocations: 59.92 kB / 1.378 GB, free: 10.31 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.0008234/0.5678, allocations: 0.8213 MB / 1.378 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.568, allocations: 59.92 kB / 1.379 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.568, allocations: 0 / 1.379 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.5681, allocations: 35.92 kB / 1.379 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.5682, allocations: 5.547 kB / 1.379 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009045/0.5691, allocations: 0.5311 MB / 1.379 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.5694, allocations: 0.6887 MB / 1.38 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.5695, allocations: 12 kB / 1.38 GB, free: 8.062 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.5695, allocations: 19.44 kB / 1.38 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of SimCode: time 7.82e-07/0.5695, allocations: 0 / 1.38 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.584, allocations: 2.164 MB / 1.382 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.5843, allocations: 204.2 kB / 1.382 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.108, allocations: 0 / 1.382 GB, free: 5.816 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat