Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001074/0.001074, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008156/0.0008156, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9374/0.9374, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.824/1.824, allocations: 389.1 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9997 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.817e-05, allocations: 8.672 kB / 0.9997 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001092/0.00111, allocations: 0.6422 MB / 1 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.000313/0.001423, allocations: 171.3 kB / 1.001 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.00145, allocations: 0 / 1.001 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.001465, allocations: 0 / 1.001 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.001626, allocations: 15.8 kB / 1.001 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.001789, allocations: 71.75 kB / 1.001 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.001847, allocations: 23.92 kB / 1.001 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.00189, allocations: 4 kB / 1.001 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.002086, allocations: 19.92 kB / 1.001 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.002147, allocations: 27.89 kB / 1.001 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.002162, allocations: 4 kB / 1.001 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.002248, allocations: 39.95 kB / 1.001 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.002264, allocations: 11.92 kB / 1.001 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.002281, allocations: 7.984 kB / 1.001 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.002412, allocations: 103.6 kB / 1.001 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002413, allocations: 0 / 1.001 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002414, allocations: 0 / 1.001 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002418, allocations: 0 / 1.001 GB, free: 11.22 MB / 0.9167 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.0003882/0.002806, allocations: 290.1 kB / 1.001 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.002845, allocations: 12.75 kB / 1.001 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.002872, allocations: 30.75 kB / 1.001 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/0.003195, allocations: 56.8 kB / 1.001 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.003297, allocations: 125.7 kB / 1.001 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.003305, allocations: 384 / 1.001 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.00333, allocations: 4.375 kB / 1.001 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.003482, allocations: 74.19 kB / 1.001 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.003492, allocations: 4.125 kB / 1.001 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.003504, allocations: 4.312 kB / 1.001 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.00351, allocations: 8.125 kB / 1.001 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.003655, allocations: 63.95 kB / 1.001 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.00388, allocations: 216 kB / 1.002 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.004096, allocations: 90.59 kB / 1.002 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.00417, allocations: 36.92 kB / 1.002 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.004186, allocations: 7.938 kB / 1.002 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.00421, allocations: 38.5 kB / 1.002 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.004211, allocations: 0 / 1.002 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.01223/0.01644, allocations: 1.519 MB / 1.003 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.01647, allocations: 55.34 kB / 1.003 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.01656, allocations: 121.8 kB / 1.003 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.01661, allocations: 25.7 kB / 1.004 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.01666, allocations: 96 kB / 1.004 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.0167, allocations: 27.75 kB / 1.004 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.01685, allocations: 25.7 kB / 1.004 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.01693, allocations: 322.8 kB / 1.004 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.01731, allocations: 147.9 kB / 1.004 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.01767, allocations: 151.9 kB / 1.004 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/0.01843, allocations: 324.7 kB / 1.005 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01843, allocations: 3.938 kB / 1.005 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008595/0.01929, allocations: 358.1 kB / 1.005 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.0193, allocations: 4 kB / 1.005 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01931, allocations: 4 kB / 1.005 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.01932, allocations: 3.984 kB / 1.005 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.02004, allocations: 59.94 kB / 1.005 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.02004, allocations: 4 kB / 1.005 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.02064, allocations: 48.03 kB / 1.005 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.02067, allocations: 12.36 kB / 1.005 GB, free: 6.707 MB / 0.9167 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.0001407/0.02081, allocations: 114.4 kB / 1.005 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.02087, allocations: 7.953 kB / 1.005 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.585e-05/0.02095, allocations: 20.44 kB / 1.005 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.02096, allocations: 7.984 kB / 1.005 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.02096, allocations: 0 / 1.005 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.02097, allocations: 0 / 1.005 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.02384, allocations: 0.7706 MB / 1.006 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02384, allocations: 0 / 1.006 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.02434, allocations: 55.94 kB / 1.006 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.02434, allocations: 0 / 1.006 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.02437, allocations: 4 kB / 1.006 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.02437, allocations: 0 / 1.006 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.02437, allocations: 0 / 1.006 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.02505, allocations: 353.2 kB / 1.006 GB, free: 5.293 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.02506, allocations: 11.95 kB / 1.006 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.0251, allocations: 0 / 1.006 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.02556, allocations: 43.95 kB / 1.006 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.02558, allocations: 11.92 kB / 1.006 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.0256, allocations: 8 kB / 1.006 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.02564, allocations: 95.27 kB / 1.006 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.02564, allocations: 0 / 1.006 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002612/0.0259, allocations: 92 kB / 1.007 GB, free: 5.035 MB / 0.9167 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.000885/0.02679, allocations: 0.8702 MB / 1.007 GB, free: 4.133 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007318/0.02752, allocations: 259.8 kB / 1.008 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.02752, allocations: 0 / 1.008 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.02783, allocations: 107.9 kB / 1.008 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.02804, allocations: 9.484 kB / 1.008 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.03304, allocations: 2.81 MB / 1.011 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.989e-05/0.0331, allocations: 71.33 kB / 1.011 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004776/0.03357, allocations: 67.88 kB / 1.011 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.03397, allocations: 24.48 kB / 1.011 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.03397, allocations: 0 / 1.011 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.05839, allocations: 11.97 MB / 1.022 GB, free: 4.762 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.129/7.187, allocations: 10.03 kB / 1.022 GB, free: 4.758 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.760438641533256]