Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001415/0.001415, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001528/0.001528, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8138, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001573/0.8154, allocations: 0.5204 MB / 1.089 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004657/0.8159, allocations: 198.4 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.8159, allocations: 3.938 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.8159, allocations: 0 / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.39e-05/0.816, allocations: 1.062 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.8164, allocations: 70.05 kB / 1.089 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.8164, allocations: 11.53 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.8165, allocations: 1.922 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.8165, allocations: 7.953 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.8165, allocations: 2.422 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.8165, allocations: 1.25 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.8168, allocations: 136.7 kB / 1.09 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.8168, allocations: 8.453 kB / 1.09 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.8169, allocations: 14.89 kB / 1.09 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.817, allocations: 67.95 kB / 1.09 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.817, allocations: 1.031 kB / 1.09 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.817, allocations: 4.656 kB / 1.09 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.817, allocations: 0 / 1.09 GB, free: 4.957 MB / 0.8575 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.0002333/0.8173, allocations: 339 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.8173, allocations: 9.656 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.8174, allocations: 2.219 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.256e-05/0.8174, allocations: 176.1 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.8174, allocations: 1.406 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.8175, allocations: 2.219 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.8176, allocations: 39.61 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.8176, allocations: 1.188 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.8176, allocations: 7.938 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8176, allocations: 4.844 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.8176, allocations: 10.42 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.8178, allocations: 165.9 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.8178, allocations: 23.89 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.8178, allocations: 12.09 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.8179, allocations: 9.234 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.8179, allocations: 31.72 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8179, allocations: 0 / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004664/0.8184, allocations: 300.7 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.364e-05/0.8184, allocations: 55.34 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.8185, allocations: 112.2 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.8185, allocations: 30.45 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.8185, allocations: 86.25 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.8185, allocations: 12.7 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.8186, allocations: 18.17 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.8186, allocations: 314.8 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.8186, allocations: 14.72 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.8187, allocations: 27.83 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.8187, allocations: 41.08 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.8187, allocations: 1.125 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.756e-05/0.8188, allocations: 71.05 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.8189, allocations: 4.875 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8189, allocations: 5.422 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.8189, allocations: 0.6562 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.8189, allocations: 6.562 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.819, allocations: 5.531 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.819, allocations: 0.6875 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.819, allocations: 6.438 kB / 1.091 GB, free: 3.066 MB / 0.8575 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 4.726e-05/0.819, allocations: 114.7 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.8191, allocations: 1.594 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.8192, allocations: 79.09 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8192, allocations: 0.75 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8192, allocations: 0 / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.8192, allocations: 83.09 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.8192, allocations: 0.9375 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.8193, allocations: 1.562 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.8193, allocations: 3.547 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001365/0.8195, allocations: 139.9 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001617/0.8196, allocations: 255.1 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.211e-05/0.8197, allocations: 17.92 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.8197, allocations: 92.36 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of Backend: time 1.6e-07/0.8197, allocations: 1.094 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.8201, allocations: 114.5 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002702/0.8204, allocations: 0.5675 MB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of Templates: time 0.003461/0.8239, allocations: 0.9828 MB / 1.094 GB, free: 1.617 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches