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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001139/0.001138, allocations: 115 kB / 16.42 MB, free: 6.488 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.001159/0.001159, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.581/2.581, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.7748, allocations: 159.1 MB / 1.221 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00187/0.7767, allocations: 0.5211 MB / 1.221 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005346/0.7773, allocations: 189.7 kB / 1.222 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.7773, allocations: 4 kB / 1.222 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.7774, allocations: 3.938 kB / 1.222 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.7774, allocations: 4 kB / 1.222 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.7779, allocations: 59.86 kB / 1.222 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.7779, allocations: 15.91 kB / 1.222 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.778, allocations: 0 / 1.222 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.778, allocations: 4 kB / 1.222 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.692e-05/0.778, allocations: 11.92 kB / 1.222 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.778, allocations: 4 kB / 1.222 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.7783, allocations: 131.8 kB / 1.222 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.7783, allocations: 4 kB / 1.222 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.7784, allocations: 11.94 kB / 1.222 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.7785, allocations: 67.77 kB / 1.222 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7785, allocations: 0 / 1.222 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.366e-06/0.7785, allocations: 4 kB / 1.222 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7786, allocations: 0 / 1.222 GB, free: 1.508 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.0003327/0.7789, allocations: 337.3 kB / 1.222 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7789, allocations: 12.03 kB / 1.222 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.779, allocations: 4.844 kB / 1.222 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.7791, allocations: 168.4 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.7791, allocations: 8.375 kB / 1.222 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.7792, allocations: 384 / 1.222 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.912e-05/0.7793, allocations: 38.25 kB / 1.222 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.7793, allocations: 4.172 kB / 1.222 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.7793, allocations: 3.938 kB / 1.222 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7793, allocations: 0 / 1.222 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.764e-05/0.7793, allocations: 11.94 kB / 1.222 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.7795, allocations: 161.7 kB / 1.223 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.7796, allocations: 30.59 kB / 1.223 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.7796, allocations: 12.92 kB / 1.223 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.7796, allocations: 11.92 kB / 1.223 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.7797, allocations: 30.56 kB / 1.223 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7797, allocations: 3.938 kB / 1.223 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005294/0.7802, allocations: 314.3 kB / 1.223 GB, free: 168 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.7803, allocations: 51.41 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.7804, allocations: 105.9 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.7804, allocations: 25.7 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.7804, allocations: 92.12 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.7804, allocations: 3.906 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.7805, allocations: 21.66 kB / 1.223 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.7806, allocations: 318.8 kB / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.7806, allocations: 16 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.7807, allocations: 25.7 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.352e-05/0.7807, allocations: 33.72 kB / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.7807, allocations: 0 / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.7808, allocations: 69.61 kB / 1.224 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7808, allocations: 4 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7809, allocations: 8 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7809, allocations: 8 kB / 1.224 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.7809, allocations: 4 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.781, allocations: 0 / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.781, allocations: 8 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.781, allocations: 0 / 1.224 GB, free: 15.32 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 6.866e-05/0.7811, allocations: 114.4 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.7811, allocations: 3.906 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.7812, allocations: 85.45 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7813, allocations: 0 / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7813, allocations: 0 / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.7813, allocations: 77.11 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.7813, allocations: 0 / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.7814, allocations: 4 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.7814, allocations: 3.984 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001855/0.7816, allocations: 136.9 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002221/0.7818, allocations: 266.9 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.488e-05/0.7819, allocations: 16.02 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.7819, allocations: 83.59 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of Backend: time 4.61e-07/0.7819, allocations: 3.938 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.7824, allocations: 117.1 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004036/0.7828, allocations: 0.5765 MB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.003369/0.7862, allocations: 0.9869 MB / 1.226 GB, free: 12.75 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches