Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.232/2.232, allocations: 387.4 MB / 394.9 MB, free: 13.29 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.001171/0.001171, allocations: 180.8 kB / 487.4 MB, free: 4.973 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.395/1.395, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.000865/0.0008649, allocations: 95.84 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.301e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2454, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8844/1.13, allocations: 148.5 MB / 1.351 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.13, allocations: 72.86 kB / 1.351 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01394/1.144, allocations: 4.557 MB / 1.356 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.003e-06/1.144, allocations: 0 / 1.356 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.144, allocations: 0 / 1.356 GB, free: 33.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003327/1.145, allocations: 351.6 kB / 1.356 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.145, allocations: 8.219 kB / 1.356 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/1.145, allocations: 3.844 kB / 1.356 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.785e-05/1.145, allocations: 164.4 kB / 1.356 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.145, allocations: 0 / 1.356 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/1.145, allocations: 4.625 kB / 1.356 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.292e-05/1.145, allocations: 0.7031 kB / 1.356 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.192e-05/1.145, allocations: 34.81 kB / 1.356 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/1.145, allocations: 0 / 1.356 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/1.145, allocations: 0.5625 kB / 1.356 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.145, allocations: 3.984 kB / 1.356 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/1.145, allocations: 136.3 kB / 1.356 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/1.145, allocations: 22.39 kB / 1.356 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/1.145, allocations: 13.19 kB / 1.356 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/1.146, allocations: 463.4 kB / 1.357 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/1.146, allocations: 35.22 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.146, allocations: 0.6562 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0005692/1.146, allocations: 244.2 kB / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/1.146, allocations: 51.41 kB / 1.357 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/1.146, allocations: 90.14 kB / 1.357 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/1.146, allocations: 25.7 kB / 1.357 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/1.146, allocations: 84.39 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/1.146, allocations: 12.02 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/1.146, allocations: 7.781 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.147, allocations: 312 kB / 1.358 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/1.147, allocations: 7.734 kB / 1.358 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/1.147, allocations: 14.41 kB / 1.358 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/1.147, allocations: 7.922 kB / 1.358 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/1.147, allocations: 4 kB / 1.358 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/1.147, allocations: 51.7 kB / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.147, allocations: 4.5 kB / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.147, allocations: 3.844 kB / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.147, allocations: 0 / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/1.147, allocations: 8.656 kB / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.147, allocations: 3.844 kB / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/1.147, allocations: 0.5625 kB / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/1.147, allocations: 0 / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.47e-05/1.147, allocations: 110.9 kB / 1.358 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.427e-05/1.147, allocations: 48.55 kB / 1.358 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/1.147, allocations: 4.531 kB / 1.358 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/1.147, allocations: 50.08 kB / 1.358 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.147, allocations: 0.7969 kB / 1.358 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.147, allocations: 0 / 1.358 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/1.147, allocations: 0 / 1.358 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.767e-05/1.147, allocations: 132.7 kB / 1.358 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/1.147, allocations: 8.75 kB / 1.358 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/1.148, allocations: 4.5 kB / 1.358 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/1.148, allocations: 3.844 kB / 1.358 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.148, allocations: 4.594 kB / 1.358 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.148, allocations: 3.938 kB / 1.358 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.148, allocations: 0 / 1.358 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/1.148, allocations: 76.05 kB / 1.358 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/1.148, allocations: 85.66 kB / 1.358 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/1.148, allocations: 4.859 kB / 1.358 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/1.148, allocations: 288 / 1.358 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/1.148, allocations: 0.75 kB / 1.358 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/1.148, allocations: 4.359 kB / 1.358 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.7e-05/1.148, allocations: 75.94 kB / 1.358 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.148, allocations: 0 / 1.358 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002227/1.148, allocations: 35.86 kB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005103/1.149, allocations: 0.6622 MB / 1.359 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.742e-05/1.149, allocations: 11.92 kB / 1.359 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.149, allocations: 3.844 kB / 1.359 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.415e-05/1.149, allocations: 9.094 kB / 1.359 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/1.149, allocations: 1.016 kB / 1.359 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/1.149, allocations: 123.7 kB / 1.359 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/1.149, allocations: 0.6801 MB / 1.36 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.066e-05/1.15, allocations: 4.5 kB / 1.36 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/1.15, allocations: 11.66 kB / 1.36 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.15, allocations: 0 / 1.36 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/1.169, allocations: 1.172 MB / 1.361 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/1.169, allocations: 179.4 kB / 1.361 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.666, allocations: 3.938 kB / 1.361 GB, free: 28.92 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat does not exist to compare? outputFormat=mat