Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001607/0.001607, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001829/0.001829, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.0015, allocations: 59.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7398, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001547/0.7414, allocations: 0.5272 MB / 1.168 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000474/0.7418, allocations: 187.4 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.7419, allocations: 4 kB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.7419, allocations: 0 / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.742, allocations: 4 kB / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.7423, allocations: 63.78 kB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.7424, allocations: 8 kB / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.294e-05/0.7424, allocations: 3.984 kB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.7424, allocations: 4 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.7425, allocations: 11.92 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.7425, allocations: 0 / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.7427, allocations: 131.8 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.7428, allocations: 7.984 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.7428, allocations: 19.92 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.7429, allocations: 63.83 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.743, allocations: 0 / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.213e-06/0.743, allocations: 0 / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.743, allocations: 0 / 1.168 GB, free: 2.867 MB / 0.8887 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.0003181/0.7433, allocations: 339.3 kB / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.7433, allocations: 8.031 kB / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.7434, allocations: 4.938 kB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.784e-05/0.7435, allocations: 164.3 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.7435, allocations: 16.38 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.7435, allocations: 384 / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.7436, allocations: 42.19 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.7436, allocations: 192 / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.7437, allocations: 3.938 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.7437, allocations: 0 / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.7437, allocations: 11.98 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.7439, allocations: 161.7 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.7439, allocations: 26.61 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.7439, allocations: 12.91 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.744, allocations: 7.938 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.744, allocations: 34.56 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 2.364e-06/0.744, allocations: 0 / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005279/0.7445, allocations: 306.4 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.7446, allocations: 55.41 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.7447, allocations: 109.8 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.7447, allocations: 25.7 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.7448, allocations: 88.14 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.7448, allocations: 9.641 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.7448, allocations: 21.7 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.745, allocations: 310.8 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.745, allocations: 20 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.7451, allocations: 21.7 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.7452, allocations: 45.64 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.7452, allocations: 0 / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.861e-05/0.7453, allocations: 61.69 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.7453, allocations: 4.062 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7453, allocations: 7.938 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7454, allocations: 4 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.7454, allocations: 11.92 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7454, allocations: 0 / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.7454, allocations: 4.141 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.7455, allocations: 4 kB / 1.17 GB, free: 0.6875 MB / 0.8887 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 6.491e-05/0.7455, allocations: 109.8 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.7455, allocations: 7.891 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.7457, allocations: 77.52 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7457, allocations: 4 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.7457, allocations: 0 / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.7458, allocations: 81.09 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.7458, allocations: 3.938 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.7458, allocations: 0 / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.7459, allocations: 4 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001538/0.746, allocations: 137 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002072/0.7462, allocations: 258.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.057e-05/0.7463, allocations: 19.95 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.7463, allocations: 87.27 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of Backend: time 1.693e-06/0.7463, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.7467, allocations: 124.6 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003719/0.7471, allocations: 0.5651 MB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.00316/0.7503, allocations: 0.9988 MB / 1.173 GB, free: 14.12 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches