Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00672/0.00672, allocations: 104 kB / 15.74 MB, free: 6.066 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.0016/0.0016, allocations: 192.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.07, allocations: 159.1 MB / 1.221 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001744/1.072, allocations: 0.516 MB / 1.221 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005629/1.072, allocations: 189.3 kB / 1.221 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/1.072, allocations: 0 / 1.221 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/1.072, allocations: 3.938 kB / 1.221 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/1.072, allocations: 4 kB / 1.221 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/1.073, allocations: 63.84 kB / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.279e-05/1.073, allocations: 11.94 kB / 1.221 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/1.073, allocations: 3.984 kB / 1.221 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.447e-05/1.073, allocations: 11.98 kB / 1.221 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.873e-05/1.073, allocations: 3.938 kB / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/1.073, allocations: 0 / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/1.073, allocations: 135.8 kB / 1.221 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/1.073, allocations: 3.984 kB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/1.073, allocations: 11.94 kB / 1.222 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/1.073, allocations: 68.75 kB / 1.222 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.073, allocations: 8 kB / 1.222 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/1.073, allocations: 0 / 1.222 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.622e-06/1.073, allocations: 0 / 1.222 GB, free: 1.113 MB / 0.9356 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.0004011/1.074, allocations: 342.9 kB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.074, allocations: 16.56 kB / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/1.074, allocations: 0.9375 kB / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.074, allocations: 172.3 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/1.074, allocations: 384 / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/1.074, allocations: 384 / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.074, allocations: 42.25 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.074, allocations: 4.172 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.074, allocations: 3.938 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.074, allocations: 3.938 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/1.074, allocations: 15.94 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/1.074, allocations: 161.7 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/1.075, allocations: 22.61 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/1.075, allocations: 12.92 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/1.075, allocations: 7.984 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.075, allocations: 34.56 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/1.075, allocations: 0 / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006035/1.075, allocations: 298.3 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.075, allocations: 51.41 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/1.075, allocations: 118.2 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/1.075, allocations: 25.7 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/1.075, allocations: 88.14 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/1.075, allocations: 7.906 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/1.075, allocations: 17.72 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.076, allocations: 314.8 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/1.076, allocations: 16 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/1.076, allocations: 25.7 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/1.076, allocations: 41.7 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.076, allocations: 4 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.951e-05/1.076, allocations: 69.62 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.076, allocations: 7.938 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.076, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.076, allocations: 4 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/1.076, allocations: 12.05 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.076, allocations: 4.062 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/1.076, allocations: 0 / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/1.076, allocations: 4 kB / 1.223 GB, free: 14.93 MB / 0.9512 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.784e-05/1.076, allocations: 114.3 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/1.076, allocations: 7.891 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/1.076, allocations: 69.58 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.076, allocations: 4 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.076, allocations: 4 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.076, allocations: 0 / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/1.076, allocations: 177.5 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.076, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/1.076, allocations: 4 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.076, allocations: 3.938 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/1.076, allocations: 4 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.076, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.076, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/1.076, allocations: 109.3 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/1.077, allocations: 85.09 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/1.077, allocations: 7.922 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.575e-05/1.077, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/1.077, allocations: 4 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/1.077, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.441e-05/1.077, allocations: 91.27 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/1.077, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002059/1.077, allocations: 19.94 kB / 1.224 GB, free: 14.12 MB / 0.9512 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.000188/1.077, allocations: 123.2 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.781e-05/1.077, allocations: 35.91 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.077, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/1.077, allocations: 12 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/1.077, allocations: 4 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/1.078, allocations: 137.4 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/1.078, allocations: 0.6768 MB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.477e-05/1.078, allocations: 12.12 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/1.078, allocations: 11.44 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/1.078, allocations: 0 / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of Templates: time 0.003242/1.081, allocations: 0.8911 MB / 1.226 GB, free: 12.16 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches