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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.087/2.087, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.666e-05, allocations: 5.094 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001264/0.001301, allocations: 0.542 MB / 0.8787 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004516/0.001753, allocations: 185.9 kB / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.001778, allocations: 0.8438 kB / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.001811, allocations: 0 / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.748e-05/0.001858, allocations: 5.094 kB / 0.8789 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.002302, allocations: 68.45 kB / 0.8789 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.002372, allocations: 13.12 kB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.002416, allocations: 3.984 kB / 0.8789 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.002456, allocations: 8.547 kB / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.002493, allocations: 4.656 kB / 0.879 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.00251, allocations: 0 / 0.879 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.002727, allocations: 156.4 kB / 0.8791 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.002774, allocations: 15.91 kB / 0.8791 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.002793, allocations: 3.906 kB / 0.8791 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.002951, allocations: 87.75 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.002954, allocations: 4 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.432e-06/0.002956, allocations: 0 / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.002962, allocations: 0 / 0.8792 GB, free: 5.277 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.0003564/0.003318, allocations: 372.4 kB / 0.8796 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.003364, allocations: 8.031 kB / 0.8796 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.003403, allocations: 4.938 kB / 0.8796 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.201e-05/0.003485, allocations: 116.6 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.003494, allocations: 384 / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.00352, allocations: 384 / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.00362, allocations: 61.44 kB / 0.8797 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003626, allocations: 4.172 kB / 0.8797 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003635, allocations: 384 / 0.8797 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.003643, allocations: 5.312 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.598e-05/0.003659, allocations: 11.86 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.003785, allocations: 117.8 kB / 0.8799 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.003825, allocations: 31.05 kB / 0.8799 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.003841, allocations: 8.438 kB / 0.8799 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.003885, allocations: 5.188 kB / 0.8799 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.003907, allocations: 37.39 kB / 0.88 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.003908, allocations: 0 / 0.88 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004777/0.004385, allocations: 191.6 kB / 0.8801 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.004412, allocations: 55.34 kB / 0.8802 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.004491, allocations: 169.9 kB / 0.8804 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.004503, allocations: 27.36 kB / 0.8804 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.004548, allocations: 134.9 kB / 0.8805 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.004574, allocations: 15.88 kB / 0.8805 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.004606, allocations: 23.38 kB / 0.8805 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002323/0.004838, allocations: 496.6 kB / 0.881 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.004859, allocations: 9.703 kB / 0.881 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.004884, allocations: 19.38 kB / 0.881 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.00493, allocations: 31.38 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004931, allocations: 1.188 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.19e-05/0.005003, allocations: 53.62 kB / 0.8811 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.005018, allocations: 11.44 kB / 0.8811 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.005023, allocations: 0 / 0.8811 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.005042, allocations: 0 / 0.8811 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.005106, allocations: 13.53 kB / 0.8812 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.005113, allocations: 3.938 kB / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.005125, allocations: 0 / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.005132, allocations: 4 kB / 0.8812 GB, free: 3.035 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/0.005208, allocations: 167.3 kB / 0.8813 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.005218, allocations: 7.953 kB / 0.8813 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.005339, allocations: 49.69 kB / 0.8814 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.005342, allocations: 0 / 0.8814 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005346, allocations: 0 / 0.8814 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.005352, allocations: 3.938 kB / 0.8814 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.678e-05/0.005429, allocations: 120.6 kB / 0.8815 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.005431, allocations: 1.688 kB / 0.8815 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.005476, allocations: 4 kB / 0.8815 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.005478, allocations: 0 / 0.8815 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.005486, allocations: 0 / 0.8815 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.005488, allocations: 4 kB / 0.8815 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.005489, allocations: 0.625 kB / 0.8815 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.005603, allocations: 93.08 kB / 0.8816 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.005614, allocations: 8.188 kB / 0.8816 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.005627, allocations: 4.75 kB / 0.8816 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.005663, allocations: 4 kB / 0.8816 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.005682, allocations: 4.297 kB / 0.8816 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.005689, allocations: 7.984 kB / 0.8816 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.005732, allocations: 131.1 kB / 0.8817 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005732, allocations: 0 / 0.8817 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001551/0.005887, allocations: 23.94 kB / 0.8818 GB, free: 2.344 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001655/0.006053, allocations: 111.2 kB / 0.8819 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.006159, allocations: 31.61 kB / 0.8819 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.006162, allocations: 0 / 0.8819 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.006181, allocations: 15.67 kB / 0.8819 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.006353, allocations: 6.062 kB / 0.8819 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.006679, allocations: 122.5 kB / 0.882 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.00673, allocations: 59.34 kB / 0.8821 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.642e-05/0.006776, allocations: 8.484 kB / 0.8821 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.006812, allocations: 12.5 kB / 0.8821 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of SimCode: time 1.052e-06/0.006813, allocations: 0 / 0.8821 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of Templates: time 0.003456/0.01027, allocations: 0.9326 MB / 0.883 GB, free: 0.9922 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.902237915433943]