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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001396/0.001396, allocations: 172.7 kB / 15.95 MB, free: 208 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.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.751/2.751, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 8.719 kB / 0.9021 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2568, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005635/0.2574, allocations: 251 kB / 1.058 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004161/0.2578, allocations: 175.6 kB / 1.058 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.2578, allocations: 0 / 1.058 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.2579, allocations: 3.938 kB / 1.058 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.2579, allocations: 0 / 1.058 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.2582, allocations: 51.86 kB / 1.058 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.168e-05/0.2583, allocations: 7.938 kB / 1.058 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.2583, allocations: 7.984 kB / 1.058 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.876e-05/0.2584, allocations: 3.938 kB / 1.058 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.2584, allocations: 15.98 kB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.2584, allocations: 0 / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.2586, allocations: 115.8 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.2587, allocations: 3.984 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.2587, allocations: 29.7 kB / 1.059 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2588, allocations: 43.92 kB / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2588, allocations: 0 / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2588, allocations: 4 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.2588, allocations: 0 / 1.059 GB, free: 4.605 MB / 0.8106 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.0002879/0.2591, allocations: 339.5 kB / 1.059 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2592, allocations: 8.031 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2592, allocations: 7.906 kB / 1.059 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2593, allocations: 159.1 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.2593, allocations: 0 / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2593, allocations: 7.953 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/0.2594, allocations: 41.62 kB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.2595, allocations: 0 / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2595, allocations: 4 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2595, allocations: 0 / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.2595, allocations: 19.98 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.2597, allocations: 161.7 kB / 1.059 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.2597, allocations: 26.58 kB / 1.059 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.2598, allocations: 12.91 kB / 1.059 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.2598, allocations: 11.89 kB / 1.059 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.2598, allocations: 30.56 kB / 1.059 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2598, allocations: 4 kB / 1.059 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005152/0.2603, allocations: 298.3 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.2604, allocations: 55.34 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.2605, allocations: 113.8 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2605, allocations: 25.7 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.2605, allocations: 84.14 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.2606, allocations: 8.031 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2606, allocations: 8 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.2607, allocations: 318.8 kB / 1.06 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.2607, allocations: 8 kB / 1.06 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.2608, allocations: 25.7 kB / 1.06 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.2608, allocations: 19.94 kB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2608, allocations: 0 / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.2609, allocations: 77.56 kB / 1.06 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2609, allocations: 4 kB / 1.06 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2609, allocations: 0 / 1.06 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2609, allocations: 0 / 1.06 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.261, allocations: 8 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.261, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.261, allocations: 0 / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.261, allocations: 4 kB / 1.061 GB, free: 2.484 MB / 0.8106 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.887e-05/0.2611, allocations: 121.7 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.2612, allocations: 15.92 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2613, allocations: 65.58 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2613, allocations: 0 / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2613, allocations: 0 / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2613, allocations: 4.188 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2614, allocations: 161.7 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2614, allocations: 0 / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.2615, allocations: 11.97 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2615, allocations: 0 / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2615, allocations: 3.953 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2615, allocations: 4 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2615, allocations: 4 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.2617, allocations: 101 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.2617, allocations: 85.02 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2617, allocations: 4.031 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.2618, allocations: 7.938 kB / 1.061 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.2618, allocations: 3.938 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2618, allocations: 4 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.2619, allocations: 91.33 kB / 1.061 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2619, allocations: 0 / 1.061 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002129/0.2621, allocations: 16 kB / 1.061 GB, free: 1.688 MB / 0.8106 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.0001768/0.2623, allocations: 119.2 kB / 1.061 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.2624, allocations: 35.92 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2624, allocations: 0 / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.2624, allocations: 15.98 kB / 1.061 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.2626, allocations: 4.125 kB / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.2628, allocations: 133 kB / 1.061 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.263, allocations: 0.6887 MB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.2631, allocations: 4 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.2631, allocations: 15.38 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2631, allocations: 0 / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of Templates: time 0.002934/0.266, allocations: 0.8668 MB / 1.063 GB, free: 15.75 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches