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.001322/0.001322, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001469/0.001469, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.868/2.868, allocations: 0.49 GB / 0.7923 GB, free: 1.344 MB / 0.6231 GB " [Timeout remaining time 176] 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.001968/0.001968, allocations: 63.91 kB / 1.149 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9449/0.9469, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001436/0.9483, allocations: 0.523 MB / 1.322 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004189/0.9487, allocations: 195.5 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.9487, allocations: 0 / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.9488, allocations: 0 / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.366e-05/0.9488, allocations: 3.031 kB / 1.322 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.9492, allocations: 61.45 kB / 1.322 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.9492, allocations: 16.62 kB / 1.322 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.9492, allocations: 2.5 kB / 1.322 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.9493, allocations: 10.59 kB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.359e-05/0.9493, allocations: 3.328 kB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.9493, allocations: 2.406 kB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.9495, allocations: 144.5 kB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.9495, allocations: 6.219 kB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.9495, allocations: 6.219 kB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.9497, allocations: 70.67 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9497, allocations: 0 / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9497, allocations: 3.375 kB / 1.322 GB, free: 24.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.9497, allocations: 3.938 kB / 1.322 GB, free: 24.17 MB / 1.061 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.0002787/0.95, allocations: 337.8 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.95, allocations: 14.8 kB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.6e-05/0.95, allocations: 192 / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.734e-05/0.95, allocations: 33.53 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.95, allocations: 4.891 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.9501, allocations: 174.9 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.9501, allocations: 4.375 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.9501, allocations: 3.25 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.942e-05/0.9502, allocations: 41.58 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.9502, allocations: 4 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.9503, allocations: 0 / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.9503, allocations: 0 / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/0.9503, allocations: 14.88 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.9504, allocations: 161.7 kB / 1.323 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.172e-05/0.9504, allocations: 30.23 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.9504, allocations: 14.45 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/0.9505, allocations: 9.938 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.9505, allocations: 34.5 kB / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.9505, allocations: 0 / 1.323 GB, free: 23.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004413/0.951, allocations: 294.7 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.951, allocations: 55.34 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.951, allocations: 111.4 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.9511, allocations: 32.58 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.9511, allocations: 84.14 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.9511, allocations: 10.34 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.9511, allocations: 20.19 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.9512, allocations: 313.7 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.9512, allocations: 15.12 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.9512, allocations: 20.88 kB / 1.324 GB, free: 22.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/0.9513, allocations: 47.64 kB / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.9513, allocations: 0 / 1.324 GB, free: 22.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.903e-05/0.9513, allocations: 69.94 kB / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9514, allocations: 6.094 kB / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9514, allocations: 3.938 kB / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.9514, allocations: 2.531 kB / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.9514, allocations: 4.938 kB / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.9514, allocations: 0 / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.9515, allocations: 18.31 kB / 1.324 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.9515, allocations: 0 / 1.324 GB, free: 22.23 MB / 1.061 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 5.481e-05/0.9515, allocations: 114.3 kB / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.9515, allocations: 6.469 kB / 1.324 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.9516, allocations: 73.62 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.9517, allocations: 7.266 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9517, allocations: 2.844 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.9517, allocations: 0 / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.634e-05/0.9517, allocations: 163.6 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9517, allocations: 6.312 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.9518, allocations: 6.812 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.9518, allocations: 0 / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.9518, allocations: 2.812 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9518, allocations: 0 / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.9518, allocations: 0 / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.9519, allocations: 102 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.9519, allocations: 81.11 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.9519, allocations: 6.844 kB / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.707e-05/0.952, allocations: 0 / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.952, allocations: 3.188 kB / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.952, allocations: 2.906 kB / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.952, allocations: 96.48 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.952, allocations: 0 / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002062/0.9523, allocations: 16.31 kB / 1.325 GB, free: 21.59 MB / 1.061 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.0003373/0.9526, allocations: 0.6764 MB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.9527, allocations: 31.66 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9527, allocations: 0 / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.9527, allocations: 17.77 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.9529, allocations: 8.391 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.9537, allocations: 1.253 MB / 1.327 GB, free: 19.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.9538, allocations: 0.6777 MB / 1.328 GB, free: 19.1 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.9538, allocations: 2.875 kB / 1.328 GB, free: 19.1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.9538, allocations: 17.62 kB / 1.328 GB, free: 19.09 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9538, allocations: 0 / 1.328 GB, free: 19.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.9737, allocations: 1.921 MB / 1.33 GB, free: 18.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.761, allocations: 11.12 kB / 1.33 GB, free: 18.71 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.12268374901032]