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.0008572/0.0008572, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.000926/0.000926, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 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.601/2.601, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004114, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8015, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006953/0.8022, allocations: 252.8 kB / 0.9814 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004674/0.8027, allocations: 179.6 kB / 0.9815 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.8027, allocations: 0 / 0.9815 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.8028, allocations: 0 / 0.9815 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.8028, allocations: 0 / 0.9815 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.8032, allocations: 47.86 kB / 0.9816 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.681e-05/0.8032, allocations: 4 kB / 0.9816 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.8033, allocations: 11.98 kB / 0.9816 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.8033, allocations: 0 / 0.9816 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.8033, allocations: 11.92 kB / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.8034, allocations: 0 / 0.9816 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.8036, allocations: 115.9 kB / 0.9817 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.8036, allocations: 15.91 kB / 0.9817 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.8036, allocations: 29.7 kB / 0.9818 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.8037, allocations: 39.94 kB / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8038, allocations: 0 / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8038, allocations: 0 / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.8038, allocations: 4 kB / 0.9818 GB, free: 5.566 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.0003381/0.8041, allocations: 329.6 kB / 0.9821 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.8042, allocations: 11.97 kB / 0.9821 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.8042, allocations: 38.56 kB / 0.9822 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.8043, allocations: 7.906 kB / 0.9822 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.8044, allocations: 163.1 kB / 0.9823 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.8044, allocations: 0 / 0.9823 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.8044, allocations: 7.984 kB / 0.9823 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.8045, allocations: 41.59 kB / 0.9824 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8046, allocations: 0 / 0.9824 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.8046, allocations: 4 kB / 0.9824 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.8046, allocations: 0 / 0.9824 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.8046, allocations: 15.97 kB / 0.9824 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.8048, allocations: 165.6 kB / 0.9826 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.8049, allocations: 22.58 kB / 0.9826 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.8049, allocations: 12.91 kB / 0.9826 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.805, allocations: 7.938 kB / 0.9826 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.805, allocations: 34.56 kB / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.805, allocations: 0 / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005981/0.8056, allocations: 306.2 kB / 0.9829 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.8057, allocations: 51.41 kB / 0.983 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.8057, allocations: 109.8 kB / 0.9831 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.8058, allocations: 29.7 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.8058, allocations: 80.14 kB / 0.9832 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.8059, allocations: 15.81 kB / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.8059, allocations: 224 / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.806, allocations: 318.8 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.806, allocations: 8 kB / 0.9835 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.806, allocations: 29.7 kB / 0.9835 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.8061, allocations: 12 kB / 0.9836 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.8061, allocations: 0 / 0.9836 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.619e-05/0.8062, allocations: 73.61 kB / 0.9836 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.8062, allocations: 8.062 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.8062, allocations: 0 / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8062, allocations: 3.953 kB / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.8063, allocations: 8 kB / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.8063, allocations: 0 / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.8063, allocations: 0 / 0.9836 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.8063, allocations: 4 kB / 0.9836 GB, free: 3.406 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 8.412e-05/0.8064, allocations: 117.8 kB / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.8064, allocations: 3.906 kB / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.8066, allocations: 73.58 kB / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8066, allocations: 3.953 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8066, allocations: 4 kB / 0.9838 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8066, allocations: 3.938 kB / 0.9838 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.8067, allocations: 161.7 kB / 0.984 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8068, allocations: 0 / 0.984 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/0.8068, allocations: 11.92 kB / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.8068, allocations: 0 / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.8068, allocations: 4 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8068, allocations: 4 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8068, allocations: 11.89 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.807, allocations: 97.11 kB / 0.9841 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.807, allocations: 85.05 kB / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.8071, allocations: 0 / 0.9842 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.8071, allocations: 3.984 kB / 0.9842 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.8071, allocations: 0 / 0.9842 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.8071, allocations: 11.95 kB / 0.9842 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.8072, allocations: 91.62 kB / 0.9843 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8072, allocations: 0 / 0.9843 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002043/0.8074, allocations: 16 kB / 0.9843 GB, free: 2.609 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.0004737/0.8079, allocations: 0.6634 MB / 0.985 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.808, allocations: 31.98 kB / 0.985 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.808, allocations: 4.188 kB / 0.985 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.364e-05/0.8081, allocations: 19.92 kB / 0.985 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.8082, allocations: 0 / 0.985 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.8089, allocations: 477.8 kB / 0.9855 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.8091, allocations: 0.6848 MB / 0.9861 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.8092, allocations: 4 kB / 0.9862 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.8092, allocations: 11.44 kB / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.8092, allocations: 0 / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.8231, allocations: 1.669 MB / 0.9878 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.8234, allocations: 207.6 kB / 0.988 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.585, allocations: 0 / 0.988 GB, free: 14.89 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