Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 221.9 kB / 22.25 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.913/2.913, allocations: 0.49 GB / 0.7951 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 66.14 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2848, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00153/0.2863, allocations: 0.5301 MB / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004916/0.2868, allocations: 179.9 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.2868, allocations: 0 / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.2868, allocations: 0 / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.2869, allocations: 0 / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.2873, allocations: 71.78 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.2873, allocations: 7.984 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.2873, allocations: 0 / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.2874, allocations: 15.92 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.809e-05/0.2874, allocations: 7.984 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2874, allocations: 4 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.2877, allocations: 159.7 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.2877, allocations: 11.98 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.2878, allocations: 7.875 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2879, allocations: 80.05 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2879, allocations: 0 / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2879, allocations: 0 / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2879, allocations: 0 / 1.327 GB, free: 424 kB / 1.014 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.0003354/0.2883, allocations: 262.2 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2883, allocations: 12.03 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.2883, allocations: 30.75 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.2884, allocations: 8.891 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2885, allocations: 106.5 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2885, allocations: 384 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2885, allocations: 12.28 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.2886, allocations: 63.97 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2886, allocations: 3.938 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.2886, allocations: 0 / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2886, allocations: 0 / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.2886, allocations: 15.98 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.2888, allocations: 136.7 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.2889, allocations: 26.58 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.2889, allocations: 12.86 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.2889, allocations: 7.984 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.2889, allocations: 30.56 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2889, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000493/0.2894, allocations: 233 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.2895, allocations: 51.62 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.2895, allocations: 117.8 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2896, allocations: 25.7 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.2896, allocations: 88.14 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.2896, allocations: 3.953 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2897, allocations: 17.72 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2898, allocations: 314.8 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.2898, allocations: 12 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.2898, allocations: 29.7 kB / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.2899, allocations: 41.64 kB / 1.328 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.2899, allocations: 4 kB / 1.328 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.549e-05/0.29, allocations: 65.64 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.29, allocations: 11.88 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.29, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.29, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.2901, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2901, allocations: 7.984 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.2901, allocations: 3.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.2901, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 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.687e-05/0.2902, allocations: 118.4 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.2902, allocations: 7.938 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.2903, allocations: 69.61 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2903, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2903, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2903, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2904, allocations: 132.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2904, allocations: 8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.2905, allocations: 15.92 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2905, allocations: 3.938 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.2905, allocations: 4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2905, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2905, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.2906, allocations: 109.2 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.2907, allocations: 7.969 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.2907, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/0.2907, allocations: 3.984 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.2907, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2907, allocations: 7.938 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.2908, allocations: 95.25 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2908, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002018/0.291, allocations: 24 kB / 1.329 GB, free: 13.76 MB / 1.029 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.0004796/0.2915, allocations: 0.6554 MB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.2916, allocations: 31.91 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2916, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.2916, allocations: 12 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2917, allocations: 8 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2928, allocations: 1.248 MB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.768e-05/0.2929, allocations: 71.38 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.2929, allocations: 8 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.2929, allocations: 11.44 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.2929, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.322, allocations: 2.402 MB / 1.333 GB, free: 9.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.45, allocations: 8.594 kB / 1.333 GB, free: 9.305 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.484657835011603]