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.203/2.203, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001329/0.001329, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.498/1.498, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.000986, allocations: 112.2 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.26e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2484, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8537/1.102, allocations: 148.7 MB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/1.102, allocations: 75.25 kB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01443/1.117, allocations: 5.095 MB / 1.356 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.117, allocations: 0 / 1.356 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.117, allocations: 1.125 kB / 1.356 GB, free: 33.57 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.0003786/1.117, allocations: 356 kB / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.117, allocations: 8.375 kB / 1.357 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/1.117, allocations: 9.234 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.919e-05/1.117, allocations: 176.2 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.117, allocations: 3.844 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/1.118, allocations: 0 / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.527e-05/1.118, allocations: 17.12 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/1.118, allocations: 47.47 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.118, allocations: 0 / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.118, allocations: 3.984 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.118, allocations: 0 / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/1.118, allocations: 148.1 kB / 1.357 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/1.118, allocations: 63.28 kB / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/1.118, allocations: 24.25 kB / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005275/1.119, allocations: 460.1 kB / 1.358 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/1.119, allocations: 37.59 kB / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.119, allocations: 0 / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000857/1.119, allocations: 0.5138 MB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/1.119, allocations: 55.41 kB / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/1.12, allocations: 95.12 kB / 1.358 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/1.12, allocations: 25.7 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/1.12, allocations: 83.98 kB / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.12, allocations: 34.42 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/1.12, allocations: 3.938 kB / 1.358 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.12, allocations: 317.3 kB / 1.359 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/1.12, allocations: 18.78 kB / 1.359 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/1.12, allocations: 19 kB / 1.359 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/1.12, allocations: 29.56 kB / 1.359 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/1.12, allocations: 0 / 1.359 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001399/1.12, allocations: 83.84 kB / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/1.12, allocations: 7.688 kB / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.12, allocations: 0 / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/1.12, allocations: 0 / 1.359 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-05/1.12, allocations: 30.22 kB / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.12, allocations: 0 / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/1.12, allocations: 0 / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/1.12, allocations: 3.969 kB / 1.359 GB, free: 31.13 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.545e-05/1.12, allocations: 110 kB / 1.359 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001343/1.121, allocations: 85.06 kB / 1.359 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/1.121, allocations: 7.844 kB / 1.359 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/1.121, allocations: 98.98 kB / 1.359 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.121, allocations: 3.844 kB / 1.359 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.121, allocations: 0 / 1.359 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.121, allocations: 0 / 1.359 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/1.121, allocations: 329 kB / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.121, allocations: 0 / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/1.121, allocations: 22.23 kB / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.121, allocations: 0 / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.121, allocations: 2.531 kB / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.121, allocations: 0 / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.121, allocations: 0 / 1.359 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/1.121, allocations: 209.3 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/1.122, allocations: 90.72 kB / 1.36 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/1.122, allocations: 7.938 kB / 1.36 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/1.122, allocations: 0 / 1.36 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/1.122, allocations: 6.609 kB / 1.36 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/1.122, allocations: 7.719 kB / 1.36 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.759e-05/1.122, allocations: 86.34 kB / 1.36 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.122, allocations: 0 / 1.36 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002862/1.122, allocations: 46.84 kB / 1.36 GB, free: 30.32 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.0005911/1.123, allocations: 0.802 MB / 1.361 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001094/1.123, allocations: 54.72 kB / 1.361 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.123, allocations: 0 / 1.361 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/1.123, allocations: 33.36 kB / 1.361 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/1.123, allocations: 0.75 kB / 1.361 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/1.123, allocations: 183.1 kB / 1.361 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/1.124, allocations: 0.6887 MB / 1.362 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.979e-05/1.124, allocations: 14.84 kB / 1.362 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/1.124, allocations: 15.69 kB / 1.362 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of SimCode: time 1.042e-06/1.124, allocations: 0 / 1.362 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/1.145, allocations: 1.874 MB / 1.364 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.145, allocations: 175 kB / 1.364 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.731, allocations: 3.938 kB / 1.364 GB, free: 28.44 MB / 0.8386 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