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.001584/0.001584, allocations: 110.1 kB / 16.46 MB, free: 6.508 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.002121/0.002121, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.263/3.263, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.002081/0.002081, allocations: 70.03 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4013, allocations: 176.1 MB / 1.321 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001834/0.4031, allocations: 0.6486 MB / 1.321 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004517/0.4036, allocations: 203.5 kB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.4036, allocations: 0 / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.4036, allocations: 3.938 kB / 1.322 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.4038, allocations: 7.922 kB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.404, allocations: 75.75 kB / 1.322 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.404, allocations: 27.97 kB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.4041, allocations: 4 kB / 1.322 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.4041, allocations: 23.86 kB / 1.322 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.4042, allocations: 19.91 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.4042, allocations: 4 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.4044, allocations: 107.7 kB / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.4044, allocations: 11.94 kB / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.4044, allocations: 19.91 kB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.4046, allocations: 99.97 kB / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4046, allocations: 0 / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4046, allocations: 0 / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.4046, allocations: 7.938 kB / 1.322 GB, free: 2.004 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.0005907/0.4052, allocations: 367.2 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4053, allocations: 15.98 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.4053, allocations: 34.75 kB / 1.322 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.4053, allocations: 0.9375 kB / 1.322 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.4055, allocations: 180.3 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4055, allocations: 8.25 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.4055, allocations: 4.375 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.4057, allocations: 58.23 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4057, allocations: 3.938 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.4057, allocations: 0 / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.4057, allocations: 0 / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.4059, allocations: 35.91 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.4062, allocations: 249 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.4064, allocations: 74.45 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.4065, allocations: 20.94 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.4065, allocations: 4 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4065, allocations: 30.56 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4065, allocations: 0 / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.02879/0.4353, allocations: 1.616 MB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.4354, allocations: 51.41 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4355, allocations: 121.8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.4356, allocations: 29.7 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.4356, allocations: 88.08 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.4357, allocations: 27.8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.4359, allocations: 29.7 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4361, allocations: 318.8 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.4366, allocations: 139.9 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.4371, allocations: 147.9 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.4382, allocations: 301.2 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4382, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001311/0.4395, allocations: 337.5 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4395, allocations: 6.031 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4396, allocations: 0 / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4396, allocations: 3.938 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.4412, allocations: 63.92 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4412, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4426, allocations: 51.94 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.4426, allocations: 0 / 1.326 GB, free: 13.41 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.0002035/0.4428, allocations: 121.8 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.4429, allocations: 4 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.443, allocations: 16.31 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4431, allocations: 4 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4431, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4431, allocations: 3.984 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008382/0.4514, allocations: 0.8493 MB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4514, allocations: 0 / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.4532, allocations: 51.94 kB / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.4532, allocations: 0 / 1.327 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.4533, allocations: 12 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4533, allocations: 0 / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4533, allocations: 0 / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.455, allocations: 325.1 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.4551, allocations: 89.05 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4552, allocations: 3.938 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.4568, allocations: 43.95 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.4568, allocations: 4 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.4569, allocations: 3.984 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001266/0.457, allocations: 95.31 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/0.457, allocations: 4 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007281/0.4577, allocations: 99.92 kB / 1.328 GB, free: 11.57 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.002243/0.46, allocations: 0.8663 MB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.4617, allocations: 243.8 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4617, allocations: 0 / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006973/0.4624, allocations: 95.89 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.4629, allocations: 11.98 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.4734, allocations: 2.678 MB / 1.332 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.4738, allocations: 0.6846 MB / 1.332 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006962/0.4745, allocations: 51.98 kB / 1.333 GB, free: 6.805 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.4751, allocations: 23.42 kB / 1.333 GB, free: 6.785 MB / 1.029 GB Notification: Performance of SimCode: time 1.743e-06/0.4751, allocations: 4 kB / 1.333 GB, free: 6.781 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04616/0.5212, allocations: 9.819 MB / 1.342 GB, free: 13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/9.091, allocations: 4.641 kB / 1.342 GB, free: 13 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.907950249966234]