Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",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.122/2.122, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.00114/0.00114, allocations: 180.8 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.3 MB / 0.7915 GB, free: 5.355 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.0007993/0.0007993, allocations: 83.97 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.907e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2643, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.776/1.04, allocations: 149.4 MB / 1.365 GB, free: 4.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/1.041, allocations: 70.7 kB / 1.365 GB, free: 4.551 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00416/1.045, allocations: 1.367 MB / 1.366 GB, free: 3.355 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/1.045, allocations: 0 / 1.366 GB, free: 3.355 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.045, allocations: 0 / 1.366 GB, free: 3.355 MB / 0.823 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.0002766/1.045, allocations: 338.4 kB / 1.366 GB, free: 2.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.045, allocations: 12.03 kB / 1.366 GB, free: 2.969 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/1.045, allocations: 33.81 kB / 1.367 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/1.045, allocations: 4.734 kB / 1.367 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.045, allocations: 171 kB / 1.367 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.045, allocations: 0 / 1.367 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/1.045, allocations: 3.938 kB / 1.367 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/1.046, allocations: 45.42 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/1.046, allocations: 4 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/1.046, allocations: 0 / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.046, allocations: 4 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/1.046, allocations: 11.98 kB / 1.367 GB, free: 2.648 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/1.046, allocations: 156.5 kB / 1.367 GB, free: 2.449 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/1.046, allocations: 30.12 kB / 1.367 GB, free: 2.414 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/1.046, allocations: 12.86 kB / 1.367 GB, free: 2.398 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/1.046, allocations: 8 kB / 1.367 GB, free: 2.391 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.046, allocations: 30.56 kB / 1.367 GB, free: 2.352 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.046, allocations: 0 / 1.367 GB, free: 2.352 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0005498/1.047, allocations: 293.8 kB / 1.367 GB, free: 2.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/1.047, allocations: 55.34 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/1.047, allocations: 103.2 kB / 1.367 GB, free: 1.852 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/1.047, allocations: 29.83 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/1.047, allocations: 87.39 kB / 1.368 GB, free: 1.73 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/1.047, allocations: 15.73 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/1.047, allocations: 0 / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.047, allocations: 321.7 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/1.047, allocations: 11.98 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/1.047, allocations: 24.7 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/1.047, allocations: 19.98 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.047, allocations: 0 / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/1.047, allocations: 71.73 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/1.047, allocations: 7.938 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/1.047, allocations: 0 / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/1.047, allocations: 4 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/1.047, allocations: 4 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.047, allocations: 4 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/1.047, allocations: 0 / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/1.047, allocations: 12.05 kB / 1.368 GB, free: 1.234 MB / 0.823 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 6.7e-05/1.047, allocations: 108.9 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/1.047, allocations: 0 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/1.048, allocations: 83.84 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.048, allocations: 0 / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/1.048, allocations: 3.438 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/1.048, allocations: 0 / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/1.048, allocations: 167.7 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/1.048, allocations: 0 / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/1.048, allocations: 8 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.048, allocations: 0 / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/1.048, allocations: 4 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.048, allocations: 0 / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.048, allocations: 0 / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/1.048, allocations: 113.8 kB / 1.368 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/1.048, allocations: 85.05 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/1.048, allocations: 4.031 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/1.048, allocations: 4.062 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/1.048, allocations: 3.984 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/1.048, allocations: 7 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.961e-05/1.048, allocations: 86.81 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 0 / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002018/1.048, allocations: 20 kB / 1.369 GB, free: 488 kB / 0.823 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.0004679/1.049, allocations: 0.6756 MB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.947e-05/1.049, allocations: 31.36 kB / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/1.049, allocations: 4 kB / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/1.049, allocations: 19.88 kB / 1.369 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.054e-05/1.049, allocations: 3.375 kB / 1.369 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/1.049, allocations: 128.1 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/1.05, allocations: 0.6811 MB / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.593e-05/1.05, allocations: 8 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/1.05, allocations: 13.86 kB / 1.37 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.05, allocations: 4 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/1.062, allocations: 1.638 MB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.062, allocations: 189.5 kB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.539, allocations: 0 / 1.372 GB, free: 13.14 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat does not exist to compare? outputFormat=mat