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.00118/0.00118, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.001219/0.001219, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.457/2.457, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7119, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001734/0.7137, allocations: 0.5318 MB / 1.168 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004889/0.7142, allocations: 193.7 kB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.7142, allocations: 0 / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.7143, allocations: 0 / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.7143, allocations: 11.92 kB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.7147, allocations: 55.86 kB / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.7148, allocations: 23.91 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.7149, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.7149, allocations: 4 kB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.893e-05/0.7149, allocations: 7.922 kB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.7149, allocations: 0 / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.7152, allocations: 131.8 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.373e-05/0.7152, allocations: 4 kB / 1.168 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.7153, allocations: 11.94 kB / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.7154, allocations: 68.81 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7154, allocations: 4 kB / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.138e-06/0.7154, allocations: 0 / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7155, allocations: 3.938 kB / 1.168 GB, free: 2.852 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.0003555/0.7158, allocations: 342.9 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7159, allocations: 8.031 kB / 1.169 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.7159, allocations: 4.938 kB / 1.169 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.716, allocations: 172.3 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.716, allocations: 4.375 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.7161, allocations: 384 / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.7162, allocations: 42.27 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7162, allocations: 192 / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.7162, allocations: 3.938 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.7162, allocations: 3.984 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.7162, allocations: 8 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.7164, allocations: 161.7 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.7165, allocations: 30.53 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.7165, allocations: 20.92 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.7165, allocations: 0 / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.7166, allocations: 38.5 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.7166, allocations: 0 / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005492/0.7171, allocations: 294.3 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.7172, allocations: 59.34 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.7173, allocations: 114.1 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.7173, allocations: 25.7 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.7173, allocations: 84.14 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.7174, allocations: 15.89 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.7174, allocations: 13.72 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7175, allocations: 314.8 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.7175, allocations: 15.98 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.7176, allocations: 29.66 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.7176, allocations: 41.7 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.7177, allocations: 0 / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.708e-05/0.7178, allocations: 69.61 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7178, allocations: 4 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7178, allocations: 3.938 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7178, allocations: 4 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.7179, allocations: 8.062 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.7179, allocations: 0 / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.7179, allocations: 0 / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.7179, allocations: 4 kB / 1.17 GB, free: 0.6719 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 7.901e-05/0.718, allocations: 113.8 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.718, allocations: 11.94 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.7182, allocations: 77.45 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7182, allocations: 0 / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7182, allocations: 0 / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.7182, allocations: 81.11 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.7182, allocations: 0 / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.7183, allocations: 0 / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.7183, allocations: 4.188 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001606/0.7185, allocations: 144.9 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000217/0.7187, allocations: 262.8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.83e-05/0.7187, allocations: 12.09 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.7188, allocations: 95.2 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of Backend: time 4.31e-07/0.7188, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.7192, allocations: 115.6 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004102/0.7196, allocations: 0.5764 MB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.003279/0.7229, allocations: 0.9812 MB / 1.173 GB, free: 14.1 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