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.141/2.141, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001786/0.001786, allocations: 184.1 kB / 492.3 MB, free: 0.6211 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.427/1.427, allocations: 221.3 MB / 0.7872 GB, free: 12.87 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.0008233/0.0008234, allocations: 91.83 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.543e-05, allocations: 3.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2388, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8227/1.062, allocations: 148.6 MB / 1.358 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.062, allocations: 67.62 kB / 1.358 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004972/1.067, allocations: 1.358 MB / 1.359 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.934e-06/1.067, allocations: 3.938 kB / 1.359 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.936e-06/1.067, allocations: 0 / 1.359 GB, free: 34.64 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.0003208/1.067, allocations: 346.9 kB / 1.359 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.067, allocations: 7.781 kB / 1.359 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/1.067, allocations: 30.56 kB / 1.359 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/1.067, allocations: 8.531 kB / 1.359 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.163e-05/1.067, allocations: 168.1 kB / 1.36 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/1.067, allocations: 3.938 kB / 1.36 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/1.067, allocations: 6.969 kB / 1.36 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/1.068, allocations: 40.84 kB / 1.36 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.068, allocations: 4 kB / 1.36 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/1.068, allocations: 0 / 1.36 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/1.068, allocations: 0 / 1.36 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/1.068, allocations: 11.42 kB / 1.36 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/1.068, allocations: 161.1 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/1.068, allocations: 28.3 kB / 1.36 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/1.068, allocations: 14.05 kB / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/1.068, allocations: 5.109 kB / 1.36 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.068, allocations: 38.12 kB / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/1.068, allocations: 0 / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0006209/1.069, allocations: 295.6 kB / 1.36 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/1.069, allocations: 51.41 kB / 1.36 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/1.069, allocations: 102.6 kB / 1.36 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/1.069, allocations: 29.64 kB / 1.36 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/1.069, allocations: 87.78 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/1.069, allocations: 12.55 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/1.069, allocations: 7.625 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.069, allocations: 316.3 kB / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/1.069, allocations: 11.16 kB / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/1.069, allocations: 31.17 kB / 1.361 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/1.069, allocations: 23.16 kB / 1.361 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/1.069, allocations: 0 / 1.361 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001094/1.069, allocations: 64.3 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.069, allocations: 3.875 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.069, allocations: 0 / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.069, allocations: 3.781 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/1.069, allocations: 9.406 kB / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.069, allocations: 3.844 kB / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/1.069, allocations: 0.5156 kB / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/1.069, allocations: 8.75 kB / 1.361 GB, free: 32.81 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.413e-05/1.07, allocations: 109.7 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/1.07, allocations: 11.69 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/1.07, allocations: 80.25 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.07, allocations: 0 / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.07, allocations: 4.406 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.07, allocations: 3.938 kB / 1.361 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.803e-05/1.07, allocations: 159 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.07, allocations: 0 / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/1.07, allocations: 13.19 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.07, allocations: 0 / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/1.07, allocations: 0 / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.07, allocations: 2.984 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.07, allocations: 0 / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/1.07, allocations: 109 kB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/1.07, allocations: 85.48 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/1.07, allocations: 4.391 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/1.07, allocations: 4.672 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/1.07, allocations: 1.219 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/1.07, allocations: 4.359 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.008e-05/1.07, allocations: 88.11 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.07, allocations: 3.938 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002234/1.071, allocations: 24.42 kB / 1.362 GB, free: 32.2 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.0004462/1.071, allocations: 0.67 MB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.714e-05/1.071, allocations: 30.25 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.071, allocations: 0 / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-05/1.071, allocations: 15.97 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/1.071, allocations: 0.6562 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/1.072, allocations: 137.7 kB / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/1.072, allocations: 0.6834 MB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.746e-05/1.072, allocations: 8.391 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/1.072, allocations: 15.41 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of SimCode: time 7.21e-07/1.072, allocations: 0 / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/1.085, allocations: 1.646 MB / 1.365 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/1.085, allocations: 175.2 kB / 1.365 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.643, allocations: 1.875 kB / 1.365 GB, free: 30.39 MB / 0.8386 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