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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.017/2.017, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009539/0.000954, allocations: 183.6 kB / 491.2 MB, free: 1.617 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.348/1.348, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0007943/0.0007943, allocations: 91.88 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.066e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2299, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7271/0.9571, allocations: 149.5 MB / 1.358 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.9574, allocations: 73 kB / 1.358 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.9703, allocations: 5.106 MB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9703, allocations: 4 kB / 1.363 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9703, allocations: 0 / 1.363 GB, free: 32.92 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.0003002/0.9706, allocations: 355.8 kB / 1.364 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9707, allocations: 11.62 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.9707, allocations: 12.03 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.9708, allocations: 169.1 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.9708, allocations: 3.938 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.9708, allocations: 3.844 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.265e-05/0.9709, allocations: 17.22 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.259e-05/0.971, allocations: 48.95 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.971, allocations: 0 / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.971, allocations: 0 / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.971, allocations: 0 / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.9712, allocations: 146.4 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.093e-05/0.9712, allocations: 52.33 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.9713, allocations: 24.81 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/0.9718, allocations: 462.9 kB / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.9718, allocations: 34.41 kB / 1.365 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.9718, allocations: 4 kB / 1.365 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000887/0.9727, allocations: 0.519 MB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.9727, allocations: 55.25 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.9728, allocations: 95.14 kB / 1.365 GB, free: 31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.9728, allocations: 25.7 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.9729, allocations: 84.14 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.9729, allocations: 33.62 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.9729, allocations: 0 / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.973, allocations: 322.6 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.973, allocations: 15.89 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.9731, allocations: 17.72 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.9732, allocations: 29.03 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9732, allocations: 1.734 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001465/0.9733, allocations: 78.14 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9733, allocations: 11.91 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9734, allocations: 96 / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9734, allocations: 7.781 kB / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.9735, allocations: 21.95 kB / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.9735, allocations: 3.844 kB / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.9735, allocations: 0 / 1.366 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.9735, allocations: 1.125 kB / 1.366 GB, free: 30.49 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 5.866e-05/0.9736, allocations: 108.8 kB / 1.366 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001366/0.9737, allocations: 87.41 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.9738, allocations: 9.203 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.974, allocations: 94.73 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.974, allocations: 3.984 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.974, allocations: 0 / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.974, allocations: 5.016 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.9743, allocations: 319.9 kB / 1.367 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9743, allocations: 0 / 1.367 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.9744, allocations: 22.05 kB / 1.367 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9744, allocations: 3.844 kB / 1.367 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.9745, allocations: 8.703 kB / 1.367 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9745, allocations: 0 / 1.367 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9745, allocations: 0 / 1.367 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.9747, allocations: 215.9 kB / 1.367 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.9747, allocations: 83.72 kB / 1.367 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.9747, allocations: 0 / 1.367 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.9748, allocations: 1.5 kB / 1.367 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.9748, allocations: 4.594 kB / 1.367 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.9749, allocations: 13.03 kB / 1.367 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.9749, allocations: 78.62 kB / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9749, allocations: 0 / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002708/0.9752, allocations: 51.72 kB / 1.367 GB, free: 29.68 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.0005067/0.9757, allocations: 0.7975 MB / 1.368 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.713e-05/0.9758, allocations: 60.28 kB / 1.368 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9758, allocations: 0 / 1.368 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.9758, allocations: 34.91 kB / 1.368 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.976, allocations: 4.484 kB / 1.368 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.9764, allocations: 182.7 kB / 1.368 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.9766, allocations: 0.6868 MB / 1.369 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.921e-05/0.9767, allocations: 18.78 kB / 1.369 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.9767, allocations: 19.23 kB / 1.369 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/0.9767, allocations: 0 / 1.369 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.9953, allocations: 1.861 MB / 1.371 GB, free: 28 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.9955, allocations: 179.3 kB / 1.371 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.355/2.35, allocations: 1.719 kB / 1.371 GB, free: 27.8 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat