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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001099, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.005/2.005, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.398/2.398, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7125, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006364/0.7132, allocations: 256.8 kB / 0.9811 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000405/0.7136, allocations: 175.6 kB / 0.9813 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.7137, allocations: 0 / 0.9813 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.7137, allocations: 0 / 0.9813 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.7137, allocations: 3.938 kB / 0.9813 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.7141, allocations: 47.86 kB / 0.9813 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.969e-05/0.7141, allocations: 8 kB / 0.9813 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.7142, allocations: 0 / 0.9813 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.7142, allocations: 7.938 kB / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.7142, allocations: 11.97 kB / 0.9813 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.7143, allocations: 4 kB / 0.9814 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.7144, allocations: 107.8 kB / 0.9815 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.7145, allocations: 3.938 kB / 0.9815 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.7145, allocations: 29.7 kB / 0.9815 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.7146, allocations: 39.92 kB / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7146, allocations: 0 / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7146, allocations: 0 / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.7146, allocations: 4 kB / 0.9815 GB, free: 5.629 MB / 0.7325 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.0003247/0.715, allocations: 337.6 kB / 0.9819 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.715, allocations: 8.031 kB / 0.9819 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.7151, allocations: 34.55 kB / 0.9819 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.7151, allocations: 7.906 kB / 0.9819 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.7152, allocations: 159.1 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.7152, allocations: 0 / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.7153, allocations: 4 kB / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.7154, allocations: 49.58 kB / 0.9821 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7154, allocations: 0 / 0.9821 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.7154, allocations: 7.938 kB / 0.9821 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.7154, allocations: 0 / 0.9821 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.96e-05/0.7155, allocations: 8 kB / 0.9821 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.7156, allocations: 157.7 kB / 0.9823 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/0.7157, allocations: 30.5 kB / 0.9823 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.7157, allocations: 8.062 kB / 0.9823 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.7158, allocations: 38.56 kB / 0.9823 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7158, allocations: 0 / 0.9823 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005172/0.7163, allocations: 310.1 kB / 0.9826 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.7163, allocations: 51.41 kB / 0.9827 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.7164, allocations: 109.8 kB / 0.9828 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7164, allocations: 29.92 kB / 0.9828 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.7165, allocations: 88.14 kB / 0.9829 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.7165, allocations: 15.8 kB / 0.9829 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.7165, allocations: 0 / 0.9829 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.7166, allocations: 314.8 kB / 0.9832 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.7166, allocations: 15.98 kB / 0.9832 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.7167, allocations: 21.72 kB / 0.9833 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.7167, allocations: 19.98 kB / 0.9833 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.7167, allocations: 0 / 0.9833 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.736e-05/0.7168, allocations: 65.62 kB / 0.9833 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.7168, allocations: 8 kB / 0.9833 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.7169, allocations: 0 / 0.9833 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7169, allocations: 3.953 kB / 0.9833 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.7169, allocations: 8 kB / 0.9834 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.717, allocations: 0 / 0.9834 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.717, allocations: 0 / 0.9834 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.717, allocations: 3.984 kB / 0.9834 GB, free: 3.48 MB / 0.7325 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 7.16e-05/0.7171, allocations: 113.9 kB / 0.9835 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.7171, allocations: 11.91 kB / 0.9835 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.7172, allocations: 69.52 kB / 0.9835 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.7172, allocations: 0 / 0.9835 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7172, allocations: 3.953 kB / 0.9835 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7172, allocations: 0 / 0.9835 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.7174, allocations: 169.6 kB / 0.9837 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7174, allocations: 4 kB / 0.9837 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.7174, allocations: 8 kB / 0.9837 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7174, allocations: 4 kB / 0.9837 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.7174, allocations: 0 / 0.9837 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7174, allocations: 0 / 0.9837 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7174, allocations: 0 / 0.9837 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.7176, allocations: 109 kB / 0.9838 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.7176, allocations: 85 kB / 0.9839 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.7176, allocations: 0 / 0.9839 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.7177, allocations: 4.094 kB / 0.9839 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.7177, allocations: 8 kB / 0.9839 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.7177, allocations: 3.938 kB / 0.9839 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.7178, allocations: 91.22 kB / 0.984 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7178, allocations: 0 / 0.984 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002178/0.718, allocations: 20 kB / 0.984 GB, free: 2.684 MB / 0.7325 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.0004367/0.7185, allocations: 0.6593 MB / 0.9847 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.254e-05/0.7186, allocations: 27.98 kB / 0.9847 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.7186, allocations: 4 kB / 0.9847 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.7186, allocations: 8 kB / 0.9847 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.7187, allocations: 5.375 kB / 0.9847 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006572/0.7194, allocations: 0.6259 MB / 0.9853 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.7196, allocations: 0.6848 MB / 0.986 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.7196, allocations: 7.984 kB / 0.986 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.7197, allocations: 15.44 kB / 0.986 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.7197, allocations: 0 / 0.986 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.7319, allocations: 1.648 MB / 0.9876 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.7321, allocations: 199.9 kB / 0.9878 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.326, allocations: 0 / 0.9878 GB, free: 14.83 MB / 0.7481 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) Environment - environmentSimulation: 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