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.426/2.426, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001176/0.001176, allocations: 182.5 kB / 0.4901 GB, free: 2.254 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.721/1.721, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009907/0.000991, allocations: 111.6 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 10.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3235, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.5168, allocations: 149.5 MB / 1.375 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.5171, allocations: 71.94 kB / 1.375 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004301/0.5214, allocations: 1.363 MB / 1.377 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5214, allocations: 4 kB / 1.377 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.5214, allocations: 0 / 1.377 GB, free: 2.586 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.000345/0.5218, allocations: 347.2 kB / 1.377 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5218, allocations: 12.03 kB / 1.377 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.5219, allocations: 30.56 kB / 1.377 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.5219, allocations: 3.953 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.522, allocations: 167.1 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5221, allocations: 0 / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.5221, allocations: 4 kB / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.5222, allocations: 37.69 kB / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5222, allocations: 0 / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.5223, allocations: 7.938 kB / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5223, allocations: 4 kB / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.5223, allocations: 7.984 kB / 1.377 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.5225, allocations: 161.7 kB / 1.377 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.5226, allocations: 32.19 kB / 1.377 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.5226, allocations: 0 / 1.377 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.5227, allocations: 38.62 kB / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.5227, allocations: 0 / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006441/0.5234, allocations: 306.1 kB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.5234, allocations: 55.34 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.5235, allocations: 101 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5235, allocations: 29.7 kB / 1.378 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.5236, allocations: 80.36 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.5236, allocations: 15.89 kB / 1.378 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.5236, allocations: 4 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5238, allocations: 318.7 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.5238, allocations: 15.98 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.5239, allocations: 25.7 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.5239, allocations: 15.98 kB / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5239, allocations: 0 / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.524, allocations: 77.52 kB / 1.378 GB, free: 468 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5241, allocations: 4 kB / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5241, allocations: 4 kB / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5241, allocations: 0 / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.5242, allocations: 11.92 kB / 1.378 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.5242, allocations: 4 kB / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.5242, allocations: 0 / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.5242, allocations: 4 kB / 1.378 GB, free: 440 kB / 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.0001007/0.5244, allocations: 114.7 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.5244, allocations: 8 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.5245, allocations: 77.64 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5246, allocations: 48 / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5246, allocations: 7.969 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5246, allocations: 4 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.5247, allocations: 157.6 kB / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5247, allocations: 0 / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.5248, allocations: 4 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5248, allocations: 4.047 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5248, allocations: 8 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5248, allocations: 3.938 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5248, allocations: 0 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.525, allocations: 116.9 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.5251, allocations: 85.12 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.5251, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.5251, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.5252, allocations: 4 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.5252, allocations: 4.062 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.041e-05/0.5252, allocations: 95.25 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5253, allocations: 0 / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002347/0.5255, allocations: 27.88 kB / 1.379 GB, free: 15.62 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.000549/0.526, allocations: 0.6631 MB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.5262, allocations: 35.98 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5262, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.5262, allocations: 19.98 kB / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.5263, allocations: 0 / 1.38 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.5271, allocations: 0.6115 MB / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.5274, allocations: 0.6848 MB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.5274, allocations: 8.656 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.5274, allocations: 11.44 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of SimCode: time 3.4e-07/0.5275, allocations: 4 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.5498, allocations: 1.651 MB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.55, allocations: 196.8 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.535, allocations: 0.5 kB / 1.383 GB, free: 11.76 MB / 0.8855 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