Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",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.304/2.304, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001105/0.001105, allocations: 189.6 kB / 498.1 MB, free: 5.773 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.455/1.455, allocations: 223.2 MB / 0.7948 GB, free: 18 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.0009927/0.0009925, allocations: 98.91 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 7.781 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.281, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.4586, allocations: 148.7 MB / 1.368 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.459, allocations: 67.97 kB / 1.368 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005268/0.4643, allocations: 1.37 MB / 1.37 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4644, allocations: 0 / 1.37 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4644, allocations: 0 / 1.37 GB, free: 11.95 MB / 0.8698 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.0004738/0.4649, allocations: 343.2 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.4649, allocations: 8.031 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.465, allocations: 34.56 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.465, allocations: 3.953 kB / 1.37 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.4652, allocations: 174.9 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4653, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.4653, allocations: 4 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4655, allocations: 33.69 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4655, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.4655, allocations: 7.938 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.4655, allocations: 0 / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.802e-05/0.4656, allocations: 19.92 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.4659, allocations: 157.7 kB / 1.37 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.869e-05/0.466, allocations: 30.56 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.466, allocations: 4.062 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.4661, allocations: 30.56 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/0.4661, allocations: 3.938 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0007701/0.4669, allocations: 306.2 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.4669, allocations: 55.62 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.467, allocations: 105 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.467, allocations: 25.7 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.4671, allocations: 84.14 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.4672, allocations: 11.81 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.4672, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4673, allocations: 322.7 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.4674, allocations: 11.98 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.4674, allocations: 29.7 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.108e-05/0.4675, allocations: 15.98 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4675, allocations: 0 / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/0.4676, allocations: 69.61 kB / 1.371 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4676, allocations: 7.984 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4676, allocations: 4 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4677, allocations: 0 / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.4677, allocations: 12 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.4678, allocations: 4.062 kB / 1.371 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.4678, allocations: 0 / 1.371 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.4678, allocations: 4 kB / 1.371 GB, free: 9.789 MB / 0.8698 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 0.0001002/0.4679, allocations: 117.8 kB / 1.371 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.4679, allocations: 4 kB / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.4681, allocations: 85.41 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.4682, allocations: 0 / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4682, allocations: 4 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4682, allocations: 4 kB / 1.372 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.4683, allocations: 157.6 kB / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4683, allocations: 0 / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.4684, allocations: 11.98 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4684, allocations: 0 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4684, allocations: 0 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4684, allocations: 0 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4684, allocations: 0 / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.4686, allocations: 117 kB / 1.372 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.4687, allocations: 85.08 kB / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4687, allocations: 0 / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.899e-05/0.4688, allocations: 0 / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.4688, allocations: 15.92 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4688, allocations: 0 / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.4689, allocations: 83.28 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4689, allocations: 0 / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002554/0.4691, allocations: 31.92 kB / 1.372 GB, free: 8.977 MB / 0.8698 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.0005431/0.4697, allocations: 0.6708 MB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.4698, allocations: 31.92 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4698, allocations: 0 / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.4698, allocations: 16.27 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.47, allocations: 4 kB / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.4707, allocations: 0.6231 MB / 1.373 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.471, allocations: 0.6809 MB / 1.374 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.4711, allocations: 12.75 kB / 1.374 GB, free: 6.828 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.4711, allocations: 19.42 kB / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/0.4711, allocations: 0 / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.4847, allocations: 1.638 MB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.485, allocations: 196.5 kB / 1.376 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.157, allocations: 0 / 1.376 GB, free: 5.102 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat does not exist to compare? outputFormat=mat