Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.701/2.701, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001198/0.001198, allocations: 186.8 kB / 0.4901 GB, free: 2.242 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.591/1.591, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009556/0.0009555, allocations: 96.14 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003894, allocations: 10.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3223, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.5267, allocations: 150.1 MB / 1.376 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.527, allocations: 75.95 kB / 1.376 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.541, allocations: 4.589 MB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.966e-06/0.541, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5411, allocations: 0 / 1.38 GB, free: 14.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004317/0.5415, allocations: 352 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.5416, allocations: 12.03 kB / 1.381 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.5416, allocations: 30.56 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.5417, allocations: 0 / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.5419, allocations: 163 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5419, allocations: 4 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.5419, allocations: 7.984 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.5421, allocations: 33.7 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.5421, allocations: 0 / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5421, allocations: 0 / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5421, allocations: 3.938 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.5421, allocations: 7.938 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.5424, allocations: 157.7 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.494e-05/0.5424, allocations: 22.58 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/0.5431, allocations: 465.5 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.5431, allocations: 38.56 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.5432, allocations: 0 / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0006432/0.5438, allocations: 246.3 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5439, allocations: 51.41 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.5439, allocations: 93 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.544, allocations: 29.98 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.544, allocations: 88.08 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.544, allocations: 11.81 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.5441, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5442, allocations: 322.8 kB / 1.382 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.5442, allocations: 4 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.5443, allocations: 21.75 kB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.5443, allocations: 4 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5443, allocations: 4 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001252/0.5444, allocations: 53.62 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5444, allocations: 4 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5445, allocations: 4 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5445, allocations: 0 / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.5446, allocations: 7.984 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5446, allocations: 4 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.5446, allocations: 4 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5446, allocations: 0 / 1.383 GB, free: 12.19 MB / 0.8855 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 () * Number of clocked 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 8.685e-05/0.5447, allocations: 122.6 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.5447, allocations: 0 / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.5449, allocations: 57.12 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5449, allocations: 0 / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5449, allocations: 0 / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5449, allocations: 3.984 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.5451, allocations: 149.6 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5451, allocations: 15.92 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.107e-05/0.5452, allocations: 8 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5452, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.5452, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5452, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5452, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.5454, allocations: 77.06 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.5454, allocations: 89 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.5455, allocations: 3.984 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.5455, allocations: 8.062 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.5455, allocations: 4 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.5455, allocations: 0 / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.5456, allocations: 75.28 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5456, allocations: 0 / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002705/0.5459, allocations: 43.86 kB / 1.383 GB, free: 11.44 MB / 0.8855 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 () * Number of clocked 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.0005723/0.5464, allocations: 0.6477 MB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.038e-05/0.5465, allocations: 19.92 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5466, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.5466, allocations: 12 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.5467, allocations: 2.25 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.5474, allocations: 0.5218 MB / 1.384 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.5477, allocations: 0.6809 MB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.5477, allocations: 7.984 kB / 1.385 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.5478, allocations: 19.48 kB / 1.385 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.5478, allocations: 0 / 1.385 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.5623, allocations: 1.483 MB / 1.386 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.5626, allocations: 208.2 kB / 1.387 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.174, allocations: 0 / 1.387 GB, free: 7.875 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat does not exist to compare? outputFormat=mat