Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001821/0.001821, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002301/0.002301, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.801 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.368/3.368, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.QuinticHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.002078/0.002078, allocations: 68.12 kB / 1.153 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4305, allocations: 176.1 MB / 1.325 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002085/0.4326, allocations: 0.6371 MB / 1.326 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005268/0.4331, allocations: 179.6 kB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.4332, allocations: 0 / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.4332, allocations: 0 / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.4334, allocations: 7.938 kB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.4336, allocations: 75.73 kB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.4337, allocations: 31.91 kB / 1.326 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.8e-05/0.4338, allocations: 4 kB / 1.326 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.4338, allocations: 19.92 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.4339, allocations: 11.92 kB / 1.326 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.4339, allocations: 4 kB / 1.326 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.4341, allocations: 51.88 kB / 1.326 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.4341, allocations: 15.86 kB / 1.326 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.4341, allocations: 15.92 kB / 1.326 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.4343, allocations: 91.95 kB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4343, allocations: 0 / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4343, allocations: 0 / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.4343, allocations: 0 / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006144/0.4349, allocations: 294.1 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.435, allocations: 12.03 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.435, allocations: 38.67 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.4351, allocations: 0.9375 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.4352, allocations: 122.4 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4352, allocations: 384 / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.4353, allocations: 4.375 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.4354, allocations: 54.22 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4354, allocations: 7.938 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4355, allocations: 3.938 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4355, allocations: 4 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.4356, allocations: 31.97 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.4359, allocations: 216 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.4362, allocations: 70.45 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.4362, allocations: 28.94 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.4363, allocations: 0 / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.4363, allocations: 34.56 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4363, allocations: 0 / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.02717/0.4635, allocations: 1.605 MB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.4636, allocations: 59.33 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.4637, allocations: 129.7 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.4638, allocations: 25.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.4639, allocations: 84.14 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.798e-05/0.464, allocations: 31.73 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.4642, allocations: 25.7 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.4644, allocations: 322.8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.4649, allocations: 139.9 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.4654, allocations: 148.2 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.4664, allocations: 296.7 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4664, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001192/0.4676, allocations: 337.5 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.4676, allocations: 5.719 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4676, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4677, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.4692, allocations: 67.86 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4692, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4706, allocations: 43.95 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.4707, allocations: 7.984 kB / 1.33 GB, free: 12.79 MB / 1.029 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 (9): * Single equations (assignments): 9 * 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.0002037/0.4709, allocations: 118.3 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.4709, allocations: 4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.4711, allocations: 16.8 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4711, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.4711, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4711, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/0.477, allocations: 0.7507 MB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.477, allocations: 0 / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.4781, allocations: 51.94 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.4781, allocations: 4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.4782, allocations: 3.938 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4782, allocations: 0 / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4782, allocations: 4 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000998/0.4792, allocations: 325.1 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.4792, allocations: 7.953 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.4793, allocations: 8.203 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.4803, allocations: 39.95 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.4804, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.4804, allocations: 11.92 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.134e-05/0.4805, allocations: 99.27 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4805, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000431/0.4809, allocations: 91.94 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001496/0.4824, allocations: 0.8662 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.4834, allocations: 239.8 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4834, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.4838, allocations: 91.94 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4841, allocations: 8 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/0.4912, allocations: 2.682 MB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.4912, allocations: 67.34 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005047/0.4917, allocations: 52.22 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.4922, allocations: 31.42 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of SimCode: time 1.543e-06/0.4922, allocations: 0 / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04208/0.5343, allocations: 11.3 MB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.07, allocations: 7.922 kB / 1.347 GB, free: 11.76 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 19.188693431206048]