Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.001394/0.001394, allocations: 117.4 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.001376/0.001376, allocations: 214.3 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.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.036/3.036, allocations: 0.49 GB / 0.7923 GB, free: 1.301 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.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial",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.001964/0.001964, allocations: 63.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9334/0.9354, allocations: 176.1 MB / 1.322 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001544/0.9369, allocations: 0.6028 MB / 1.322 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.9372, allocations: 37.56 kB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.588e-05/0.9372, allocations: 0 / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.9372, allocations: 0 / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.962e-06/0.9372, allocations: 0 / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.9375, allocations: 8.5 kB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.055e-05/0.9376, allocations: 2.469 kB / 1.322 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.9376, allocations: 4 kB / 1.322 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.9376, allocations: 2.469 kB / 1.322 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.9377, allocations: 0 / 1.322 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.9377, allocations: 0 / 1.322 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.624e-05/0.9378, allocations: 27.8 kB / 1.322 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.9378, allocations: 0 / 1.322 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.9378, allocations: 3.984 kB / 1.322 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.552e-05/0.9379, allocations: 18.58 kB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9379, allocations: 0 / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9379, allocations: 0 / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.9379, allocations: 0 / 1.322 GB, free: 24.36 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002786/0.9382, allocations: 323.7 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9382, allocations: 14.95 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.9382, allocations: 192 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.601e-05/0.9383, allocations: 30.75 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.9383, allocations: 0.9375 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.17e-05/0.9383, allocations: 163.1 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.9383, allocations: 384 / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.9383, allocations: 384 / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.9384, allocations: 44.02 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.9385, allocations: 0 / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.9385, allocations: 0 / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.9385, allocations: 0 / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.9385, allocations: 2.844 kB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.9386, allocations: 145.7 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.9386, allocations: 21.44 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.9387, allocations: 8.141 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.9387, allocations: 6.781 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.9387, allocations: 42.44 kB / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.9387, allocations: 0 / 1.323 GB, free: 23.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.9388, allocations: 31.36 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.9389, allocations: 58.09 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.829e-05/0.9389, allocations: 89.86 kB / 1.323 GB, free: 23.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.9389, allocations: 25.7 kB / 1.323 GB, free: 23.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.096e-05/0.9389, allocations: 87.59 kB / 1.323 GB, free: 23.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.9389, allocations: 3.953 kB / 1.323 GB, free: 23.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.9389, allocations: 12.41 kB / 1.323 GB, free: 23.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.939, allocations: 314.8 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.939, allocations: 2.938 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.939, allocations: 3.938 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.939, allocations: 11.48 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.939, allocations: 0 / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.493e-05/0.9391, allocations: 42.42 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9391, allocations: 9.469 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.9391, allocations: 0 / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9391, allocations: 2.844 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.9392, allocations: 0 / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.9392, allocations: 0 / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.9392, allocations: 2.594 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.9392, allocations: 0 / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.434e-05/0.9393, allocations: 115.6 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-06/0.9393, allocations: 7.969 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.753e-05/0.9394, allocations: 41.62 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.9394, allocations: 0 / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9394, allocations: 0 / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.9394, allocations: 2.781 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.674e-05/0.9394, allocations: 145.7 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.9394, allocations: 0 / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.9394, allocations: 10.42 kB / 1.324 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9394, allocations: 3.938 kB / 1.324 GB, free: 22.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.9394, allocations: 0 / 1.324 GB, free: 22.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.9395, allocations: 0 / 1.324 GB, free: 22.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9395, allocations: 0 / 1.324 GB, free: 22.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.004e-05/0.9395, allocations: 57.42 kB / 1.324 GB, free: 22.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.9395, allocations: 80.39 kB / 1.324 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-06/0.9395, allocations: 3.938 kB / 1.324 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.9395, allocations: 4.031 kB / 1.324 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.9396, allocations: 6.531 kB / 1.324 GB, free: 22.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.9396, allocations: 0 / 1.324 GB, free: 22.2 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.285e-05/0.9396, allocations: 75.28 kB / 1.324 GB, free: 22.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.9396, allocations: 0 / 1.324 GB, free: 22.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001861/0.9398, allocations: 5.094 kB / 1.324 GB, free: 22.12 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0002409/0.94, allocations: 0.6051 MB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.571e-05/0.9401, allocations: 10.23 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9401, allocations: 0 / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.9401, allocations: 6.812 kB / 1.325 GB, free: 21.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.9402, allocations: 6.844 kB / 1.325 GB, free: 21.51 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.9405, allocations: 118 kB / 1.325 GB, free: 21.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.9406, allocations: 0.6729 MB / 1.326 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.9406, allocations: 2.969 kB / 1.326 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.9406, allocations: 7.438 kB / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9406, allocations: 0 / 1.326 GB, free: 20.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.9583, allocations: 1.066 MB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.633/9.591, allocations: 6.375 kB / 1.327 GB, free: 20.29 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.21005455998238]