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.001631/0.001631, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001717/0.001717, allocations: 197.8 kB / 16.14 MB, free: 6.734 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.8 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.62 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4344, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001884/0.4363, allocations: 0.5762 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000554/0.4369, allocations: 207.4 kB / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.4369, allocations: 0 / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.4369, allocations: 0 / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.437, allocations: 0 / 1.053 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.4373, allocations: 51.86 kB / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.4374, allocations: 11.94 kB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.4374, allocations: 4 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.4375, allocations: 11.98 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.4375, allocations: 3.984 kB / 1.053 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.4375, allocations: 4 kB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.4377, allocations: 115.8 kB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.4378, allocations: 15.92 kB / 1.053 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.4378, allocations: 7.938 kB / 1.053 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.438, allocations: 67.83 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.438, allocations: 0 / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.81e-07/0.438, allocations: 0 / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.438, allocations: 4 kB / 1.053 GB, free: 7.738 MB / 0.8106 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.0003605/0.4384, allocations: 348.6 kB / 1.053 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4384, allocations: 8.031 kB / 1.053 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.4384, allocations: 0.9375 kB / 1.053 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.4386, allocations: 172.3 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4386, allocations: 384 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.4386, allocations: 4.375 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.4387, allocations: 38.19 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4387, allocations: 4.188 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.4388, allocations: 7.938 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4388, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.4388, allocations: 8 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.439, allocations: 165.7 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.077e-05/0.439, allocations: 22.58 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.4391, allocations: 8.922 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.4391, allocations: 7.984 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.4391, allocations: 38.5 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4392, allocations: 0 / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005641/0.4397, allocations: 302.2 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.4398, allocations: 51.41 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.4399, allocations: 113.8 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.4399, allocations: 25.92 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.4399, allocations: 88.14 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.44, allocations: 7.906 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.44, allocations: 17.72 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4401, allocations: 314.8 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.4401, allocations: 12 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.4402, allocations: 25.7 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/0.4402, allocations: 53.58 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4402, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.851e-05/0.4403, allocations: 65.59 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4404, allocations: 11.94 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4404, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4404, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.4405, allocations: 15.94 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4405, allocations: 3.984 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.4405, allocations: 4.062 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4405, allocations: 0 / 1.055 GB, free: 5.551 MB / 0.8106 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.345e-05/0.4406, allocations: 115.3 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.4406, allocations: 7.938 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.4407, allocations: 73.7 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4408, allocations: 0 / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4408, allocations: 0 / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4408, allocations: 3.938 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.4409, allocations: 173.6 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4409, allocations: 8 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.441, allocations: 4 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.441, allocations: 3.938 kB / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.441, allocations: 0 / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.441, allocations: 0 / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.441, allocations: 0 / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.4412, allocations: 109 kB / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.4412, allocations: 77.11 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.4412, allocations: 8 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.41e-05/0.4413, allocations: 4.031 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.4413, allocations: 0 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4413, allocations: 0 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.4414, allocations: 91.27 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.543e-06/0.4414, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002057/0.4416, allocations: 23.94 kB / 1.056 GB, free: 4.758 MB / 0.8106 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.0001705/0.4418, allocations: 115.2 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.797e-05/0.4418, allocations: 31.98 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4419, allocations: 3.938 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.4419, allocations: 19.98 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.442, allocations: 4 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.4423, allocations: 143.1 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.4426, allocations: 0.6809 MB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.4426, allocations: 8.125 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.4426, allocations: 11.44 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.4426, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of Templates: time 0.003029/0.4457, allocations: 0.8792 MB / 1.058 GB, free: 2.805 MB / 0.8106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches