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.001309/0.001309, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001653/0.001653, allocations: 215 kB / 23.03 MB, free: 4.949 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.078/3.078, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="cs",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.001919/0.001919, allocations: 67.45 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001714/0.3303, allocations: 0.5243 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005194/0.3308, allocations: 195.8 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.3308, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.3308, allocations: 0 / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.3309, allocations: 3.938 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.3313, allocations: 59.84 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.3314, allocations: 19.92 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.3314, allocations: 0 / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.3314, allocations: 4 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.163e-05/0.3314, allocations: 11.92 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3315, allocations: 0 / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.3317, allocations: 163.8 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.3318, allocations: 7.938 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.3318, allocations: 7.984 kB / 1.328 GB, free: 500 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.332, allocations: 68.06 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.332, allocations: 4 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.332, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.332, allocations: 0 / 1.328 GB, free: 428 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.0003451/0.3323, allocations: 266.2 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3324, allocations: 12.02 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.493e-05/0.3324, allocations: 4.125 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.827e-05/0.3324, allocations: 38.69 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.3324, allocations: 8.891 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3326, allocations: 110.5 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.3326, allocations: 384 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.3326, allocations: 384 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3327, allocations: 71.7 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3327, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.3327, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3327, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.3328, allocations: 8 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.3329, allocations: 132.8 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.043e-05/0.333, allocations: 34.5 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.333, allocations: 12.92 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.333, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.3331, allocations: 34.5 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3331, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005754/0.3337, allocations: 233.1 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3337, allocations: 51.41 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.3338, allocations: 109.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3338, allocations: 29.92 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.3339, allocations: 80.14 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3339, allocations: 19.88 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.3339, allocations: 13.72 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3341, allocations: 314.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.3341, allocations: 15.98 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.3341, allocations: 29.64 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.3342, allocations: 37.72 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3342, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.3343, allocations: 81.5 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3343, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3343, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3343, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.3344, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3344, allocations: 3.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.3344, allocations: 4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3344, allocations: 0 / 1.329 GB, free: 14.44 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 8.951e-05/0.3345, allocations: 118.4 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.3345, allocations: 8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.3347, allocations: 73.61 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3347, allocations: 0 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3347, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3347, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.3348, allocations: 132.8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3348, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.3349, allocations: 11.94 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3349, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3349, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3349, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3349, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.3351, allocations: 113 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.3351, allocations: 3.969 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3351, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.3351, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.3352, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3352, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.3352, allocations: 87.58 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3352, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002096/0.3354, allocations: 19.94 kB / 1.33 GB, free: 13.77 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.0005536/0.336, allocations: 0.6593 MB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.3361, allocations: 35.92 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3361, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.696e-05/0.3361, allocations: 19.92 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.3363, allocations: 8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.3375, allocations: 1.253 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.918e-05/0.3376, allocations: 67.25 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.3376, allocations: 16.16 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.3377, allocations: 15.44 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3377, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.3609, allocations: 2.034 MB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.93, allocations: 6.594 kB / 1.334 GB, free: 9.68 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: 17.48811843805015]