Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001746/0.001746, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.002103/0.002103, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.362/3.362, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.CubicHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.002304/0.002304, allocations: 73.72 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.37, allocations: 176.1 MB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002128/0.3722, allocations: 0.6175 MB / 1.321 GB, free: 2.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.3744, allocations: 1.436 MB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.3744, allocations: 0 / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.752e-05/0.3745, allocations: 3.984 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.3745, allocations: 7.938 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.3753, allocations: 179.6 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.3755, allocations: 39.97 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.3755, allocations: 288 / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.3755, allocations: 27.84 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.3756, allocations: 31.91 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3756, allocations: 8 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.376, allocations: 207.7 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.3761, allocations: 4 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.3761, allocations: 35.78 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.3765, allocations: 191.3 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3765, allocations: 0 / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3765, allocations: 0 / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3765, allocations: 0 / 1.324 GB, free: 480 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005451/0.377, allocations: 446.3 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3771, allocations: 15.98 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.3771, allocations: 34.75 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3771, allocations: 4.938 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.3773, allocations: 176.2 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3773, allocations: 384 / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3773, allocations: 4.375 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3775, allocations: 105.7 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3775, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3775, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3775, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/0.3776, allocations: 59.95 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.3778, allocations: 185.6 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.378, allocations: 74.53 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.378, allocations: 64.89 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.3781, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3781, allocations: 46.44 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3781, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004189/0.3785, allocations: 251.2 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.3786, allocations: 81.11 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3787, allocations: 143.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3787, allocations: 29.7 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.3788, allocations: 92.12 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.3788, allocations: 19.83 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.3789, allocations: 33.64 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.379, allocations: 314.8 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3792, allocations: 108 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3793, allocations: 103.9 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.3796, allocations: 281.8 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3796, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003946/0.38, allocations: 320.8 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/0.38, allocations: 71.39 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.38, allocations: 3.938 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3801, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3801, allocations: 0 / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3801, allocations: 3.984 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.3802, allocations: 16.02 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3802, allocations: 4 kB / 1.327 GB, free: 13.14 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001277/0.3803, allocations: 151.5 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.3804, allocations: 11.89 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.3804, allocations: 4.25 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3804, allocations: 0 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3804, allocations: 3.984 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3804, allocations: 144 / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.3805, allocations: 173.6 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3805, allocations: 7.938 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-06/0.3805, allocations: 7.969 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3805, allocations: 0 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3806, allocations: 4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3806, allocations: 0 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3806, allocations: 0 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3808, allocations: 226.7 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.3809, allocations: 88.94 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3809, allocations: 8.031 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/0.381, allocations: 4 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.381, allocations: 11.98 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.381, allocations: 0 / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.3811, allocations: 113.1 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3811, allocations: 0 / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003016/0.3814, allocations: 59.94 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007799/0.3822, allocations: 0.8246 MB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.3826, allocations: 322.7 kB / 1.328 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3826, allocations: 0 / 1.328 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3827, allocations: 127.3 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.3829, allocations: 7.938 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.3852, allocations: 2.139 MB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3855, allocations: 0.6885 MB / 1.331 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.572e-06/0.3855, allocations: 4.219 kB / 1.331 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.3856, allocations: 23.42 kB / 1.331 GB, free: 7.852 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/0.3856, allocations: 3.938 kB / 1.331 GB, free: 7.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.4116, allocations: 3.3 MB / 1.335 GB, free: 4.648 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.402, allocations: 4.688 kB / 1.335 GB, free: 4.645 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.498450916958973]