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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.8/2.8, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 71.88 kB / 1.056 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 160.7 MB / 1.213 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002301/1.025, allocations: 0.517 MB / 1.213 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006555/1.025, allocations: 195.7 kB / 1.214 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/1.025, allocations: 0 / 1.214 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/1.025, allocations: 0 / 1.214 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.596e-05/1.026, allocations: 9.031 kB / 1.214 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/1.026, allocations: 59.03 kB / 1.214 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/1.026, allocations: 18.11 kB / 1.214 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/1.026, allocations: 1.094 kB / 1.214 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/1.026, allocations: 6.266 kB / 1.214 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/1.026, allocations: 13.83 kB / 1.214 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/1.026, allocations: 0.75 kB / 1.214 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/1.027, allocations: 138.2 kB / 1.214 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/1.027, allocations: 6.266 kB / 1.214 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/1.027, allocations: 13.97 kB / 1.214 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/1.027, allocations: 71.91 kB / 1.214 GB, free: 3.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.027, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/1.027, allocations: 3.938 kB / 1.214 GB, free: 3.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.027, allocations: 0 / 1.214 GB, free: 3.188 MB / 0.92 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.0005651/1.028, allocations: 339.6 kB / 1.214 GB, free: 2.816 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/1.028, allocations: 10.19 kB / 1.214 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/1.028, allocations: 30.75 kB / 1.214 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/1.028, allocations: 3.219 kB / 1.214 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/1.028, allocations: 170.2 kB / 1.214 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/1.028, allocations: 9.469 kB / 1.214 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/1.028, allocations: 5.422 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/1.028, allocations: 38.03 kB / 1.214 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.028, allocations: 3.938 kB / 1.214 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.028, allocations: 0 / 1.214 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.028, allocations: 0.875 kB / 1.214 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/1.028, allocations: 15.98 kB / 1.215 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/1.028, allocations: 162.6 kB / 1.215 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/1.028, allocations: 29.86 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/1.028, allocations: 13 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/1.029, allocations: 4.094 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/1.029, allocations: 31.69 kB / 1.215 GB, free: 2.234 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/1.029, allocations: 0 / 1.215 GB, free: 2.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0007709/1.029, allocations: 308.5 kB / 1.215 GB, free: 1.945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.029, allocations: 52.53 kB / 1.215 GB, free: 1.883 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/1.03, allocations: 112.2 kB / 1.215 GB, free: 1.773 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.03, allocations: 26.67 kB / 1.215 GB, free: 1.742 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/1.03, allocations: 85.2 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/1.03, allocations: 14.03 kB / 1.215 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/1.03, allocations: 20.98 kB / 1.215 GB, free: 1.621 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.03, allocations: 313.2 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/1.03, allocations: 20.83 kB / 1.216 GB, free: 1.297 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/1.03, allocations: 19.88 kB / 1.216 GB, free: 1.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.581e-05/1.03, allocations: 39.08 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.03, allocations: 1 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/1.03, allocations: 69.75 kB / 1.216 GB, free: 1.211 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.03, allocations: 9.406 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.03, allocations: 8 kB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.03, allocations: 5.266 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/1.03, allocations: 6.375 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.03, allocations: 0 / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/1.03, allocations: 5.125 kB / 1.216 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/1.03, allocations: 1.656 kB / 1.216 GB, free: 1.191 MB / 0.92 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 0.0001053/1.03, allocations: 114.2 kB / 1.216 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/1.03, allocations: 9.766 kB / 1.216 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/1.031, allocations: 78.58 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.031, allocations: 1.281 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/1.031, allocations: 0 / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.031, allocations: 5.297 kB / 1.216 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/1.031, allocations: 161.1 kB / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.031, allocations: 1.062 kB / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/1.031, allocations: 4.375 kB / 1.216 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/1.031, allocations: 8.875 kB / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.031, allocations: 1.031 kB / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.031, allocations: 3.984 kB / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.031, allocations: 0 / 1.216 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/1.031, allocations: 108.5 kB / 1.216 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/1.031, allocations: 90.12 kB / 1.216 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/1.031, allocations: 1.125 kB / 1.216 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/1.031, allocations: 0 / 1.216 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/1.031, allocations: 6.141 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/1.031, allocations: 1.312 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.013e-05/1.031, allocations: 86.47 kB / 1.216 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/1.031, allocations: 4.062 kB / 1.216 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002427/1.031, allocations: 20.08 kB / 1.216 GB, free: 0.5078 MB / 0.92 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.0006783/1.032, allocations: 0.6591 MB / 1.217 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001327/1.032, allocations: 26.2 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.032, allocations: 4.938 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.411e-05/1.032, allocations: 18.58 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/1.033, allocations: 2.219 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/1.034, allocations: 1.254 MB / 1.218 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/1.034, allocations: 0.6832 MB / 1.219 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.67e-05/1.034, allocations: 11.56 kB / 1.219 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/1.034, allocations: 17.59 kB / 1.219 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of SimCode: time 9.72e-07/1.034, allocations: 0 / 1.219 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/1.063, allocations: 1.879 MB / 1.221 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/9.334, allocations: 4.188 kB / 1.221 GB, free: 12.98 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.64241098612547]