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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00394/0.00394, allocations: 98.06 kB / 15.73 MB, free: 6.055 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.001098/0.001098, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.501/2.501, allocations: 482.6 MB / 0.755 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.89 kB / 1.083 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6462/0.648, allocations: 162.3 MB / 1.242 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001528/0.6496, allocations: 0.521 MB / 1.242 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004494/0.65, allocations: 193.3 kB / 1.243 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.6501, allocations: 4 kB / 1.243 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.6501, allocations: 0 / 1.243 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.07e-05/0.6501, allocations: 0 / 1.243 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.6505, allocations: 63.78 kB / 1.243 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.921e-05/0.6505, allocations: 11.98 kB / 1.243 GB, free: 416 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.6506, allocations: 3.984 kB / 1.243 GB, free: 412 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.6506, allocations: 7.938 kB / 1.243 GB, free: 404 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.6506, allocations: 8 kB / 1.243 GB, free: 396 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.6507, allocations: 0 / 1.243 GB, free: 396 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.6509, allocations: 139.8 kB / 1.243 GB, free: 256 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.6509, allocations: 7.984 kB / 1.243 GB, free: 248 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.6509, allocations: 3.938 kB / 1.243 GB, free: 244 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.6511, allocations: 70.5 kB / 1.243 GB, free: 176 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6511, allocations: 4 kB / 1.243 GB, free: 172 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6511, allocations: 0 / 1.243 GB, free: 172 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.6511, allocations: 0 / 1.243 GB, free: 172 kB / 0.9512 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.0003616/0.6515, allocations: 344.3 kB / 1.243 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6515, allocations: 12.03 kB / 1.243 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.6516, allocations: 30.75 kB / 1.243 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.6516, allocations: 8.922 kB / 1.243 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.6517, allocations: 164.3 kB / 1.243 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.6517, allocations: 4.312 kB / 1.243 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.6518, allocations: 8.375 kB / 1.243 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.564e-05/0.6519, allocations: 38.19 kB / 1.243 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6519, allocations: 7.938 kB / 1.243 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.6519, allocations: 0 / 1.243 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.6519, allocations: 4 kB / 1.243 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.6519, allocations: 11.98 kB / 1.243 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.6521, allocations: 157.7 kB / 1.244 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.6522, allocations: 26.58 kB / 1.244 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.6522, allocations: 16.84 kB / 1.244 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.6522, allocations: 4 kB / 1.244 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.6523, allocations: 38.5 kB / 1.244 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6523, allocations: 0 / 1.244 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000525/0.6528, allocations: 306.2 kB / 1.244 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.6529, allocations: 51.41 kB / 1.244 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.6529, allocations: 113.8 kB / 1.244 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.653, allocations: 25.7 kB / 1.244 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.653, allocations: 84.36 kB / 1.244 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.653, allocations: 15.91 kB / 1.244 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.6531, allocations: 21.7 kB / 1.244 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6532, allocations: 310.8 kB / 1.245 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.6532, allocations: 15.98 kB / 1.245 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.6533, allocations: 25.72 kB / 1.245 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.9e-05/0.6534, allocations: 45.64 kB / 1.245 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6534, allocations: 0 / 1.245 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.828e-05/0.6535, allocations: 61.69 kB / 1.245 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6535, allocations: 11.94 kB / 1.245 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.6535, allocations: 0 / 1.245 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.6535, allocations: 0 / 1.245 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.6536, allocations: 15.92 kB / 1.245 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.6536, allocations: 0 / 1.245 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.6536, allocations: 0 / 1.245 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.6536, allocations: 8 kB / 1.245 GB, free: 13.93 MB / 0.9669 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 8.435e-05/0.6537, allocations: 114.4 kB / 1.245 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.6537, allocations: 15.83 kB / 1.245 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.6539, allocations: 65.58 kB / 1.245 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6539, allocations: 0 / 1.245 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6539, allocations: 0 / 1.245 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6539, allocations: 4 kB / 1.245 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.654, allocations: 169.7 kB / 1.245 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.654, allocations: 0 / 1.245 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.6541, allocations: 7.938 kB / 1.245 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.6541, allocations: 7.938 kB / 1.245 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.6541, allocations: 0 / 1.245 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6541, allocations: 0 / 1.245 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6541, allocations: 192 / 1.245 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.6543, allocations: 109.1 kB / 1.245 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.6543, allocations: 85 kB / 1.245 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.6543, allocations: 4.031 kB / 1.245 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.6544, allocations: 0 / 1.245 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.6544, allocations: 4.062 kB / 1.245 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.6544, allocations: 11.92 kB / 1.245 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.6545, allocations: 83.28 kB / 1.245 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6545, allocations: 0 / 1.245 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002101/0.6547, allocations: 16 kB / 1.245 GB, free: 13.14 MB / 0.9669 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.000487/0.6552, allocations: 0.6709 MB / 1.246 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.6553, allocations: 27.98 kB / 1.246 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6553, allocations: 3.938 kB / 1.246 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.6553, allocations: 19.98 kB / 1.246 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.6555, allocations: 5.875 kB / 1.246 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.6566, allocations: 1.252 MB / 1.247 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.6569, allocations: 0.6806 MB / 1.248 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.6569, allocations: 8 kB / 1.248 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.657, allocations: 15.44 kB / 1.248 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.657, allocations: 0 / 1.248 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.457/2.114, allocations: 1.877 MB / 1.25 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/16.67, allocations: 5.312 kB / 1.25 GB, free: 8.582 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > 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