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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 497.2 MB / 0.7812 GB, free: 12.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001999/0.001999, allocations: 71.89 kB / 1.134 GB, free: 11 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227/1.229, allocations: 173.9 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002528/1.232, allocations: 0.6383 MB / 1.305 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006328/1.233, allocations: 201.8 kB / 1.305 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/1.233, allocations: 4 kB / 1.305 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/1.233, allocations: 0 / 1.305 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/1.233, allocations: 12.02 kB / 1.305 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/1.233, allocations: 72.31 kB / 1.305 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/1.233, allocations: 35.62 kB / 1.305 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/1.233, allocations: 1.859 kB / 1.305 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/1.233, allocations: 17.08 kB / 1.305 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/1.234, allocations: 23.48 kB / 1.305 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/1.234, allocations: 2.406 kB / 1.305 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/1.234, allocations: 104.8 kB / 1.305 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/1.234, allocations: 12.56 kB / 1.305 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/1.234, allocations: 20.12 kB / 1.305 GB, free: 15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003099/1.234, allocations: 103.2 kB / 1.305 GB, free: 14.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/1.234, allocations: 0.75 kB / 1.305 GB, free: 14.97 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.755e-06/1.234, allocations: 1.281 kB / 1.305 GB, free: 14.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.794e-06/1.234, allocations: 0 / 1.305 GB, free: 14.97 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.0007961/1.235, allocations: 366.8 kB / 1.306 GB, free: 14.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.235, allocations: 10.44 kB / 1.306 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/1.235, allocations: 39.36 kB / 1.306 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/1.235, allocations: 7.141 kB / 1.306 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/1.235, allocations: 172.3 kB / 1.306 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/1.235, allocations: 1.719 kB / 1.306 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/1.235, allocations: 1.812 kB / 1.306 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/1.236, allocations: 60.91 kB / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/1.236, allocations: 3.938 kB / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.236, allocations: 2.297 kB / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.236, allocations: 0 / 1.306 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/1.236, allocations: 37.94 kB / 1.306 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/1.236, allocations: 243.6 kB / 1.306 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/1.237, allocations: 74.27 kB / 1.306 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/1.237, allocations: 24.09 kB / 1.306 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/1.237, allocations: 5.734 kB / 1.306 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.237, allocations: 35.75 kB / 1.306 GB, free: 13.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/1.237, allocations: 0 / 1.306 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.02927/1.266, allocations: 1.615 MB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/1.266, allocations: 53.19 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/1.266, allocations: 120.4 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/1.266, allocations: 27.88 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/1.266, allocations: 90.45 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/1.266, allocations: 32.5 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/1.267, allocations: 24.67 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.267, allocations: 322.1 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/1.267, allocations: 146.4 kB / 1.309 GB, free: 13.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/1.268, allocations: 144.6 kB / 1.309 GB, free: 12.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.269, allocations: 295.4 kB / 1.309 GB, free: 12.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.269, allocations: 0.6562 kB / 1.309 GB, free: 12.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001223/1.27, allocations: 331.8 kB / 1.309 GB, free: 12.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.27, allocations: 5.688 kB / 1.309 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.27, allocations: 0.6094 kB / 1.309 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.27, allocations: 1.438 kB / 1.309 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.272, allocations: 63.41 kB / 1.309 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.272, allocations: 1.062 kB / 1.309 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/1.273, allocations: 46.91 kB / 1.309 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/1.273, allocations: 6.766 kB / 1.309 GB, free: 12.76 MB / 1.014 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.0002303/1.273, allocations: 120.7 kB / 1.31 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/1.273, allocations: 8.125 kB / 1.31 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/1.274, allocations: 19.08 kB / 1.31 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.274, allocations: 1.031 kB / 1.31 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/1.274, allocations: 4.703 kB / 1.31 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.274, allocations: 5.594 kB / 1.31 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005685/1.279, allocations: 0.8479 MB / 1.31 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.279, allocations: 1.5 kB / 1.31 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.28, allocations: 53.16 kB / 1.311 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/1.28, allocations: 1.375 kB / 1.311 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/1.28, allocations: 9.234 kB / 1.311 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.28, allocations: 5.125 kB / 1.311 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.28, allocations: 1 kB / 1.311 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/1.281, allocations: 321.3 kB / 1.311 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/1.282, allocations: 79.3 kB / 1.311 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/1.282, allocations: 9.094 kB / 1.311 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/1.283, allocations: 47.28 kB / 1.311 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/1.283, allocations: 6.531 kB / 1.311 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/1.283, allocations: 2.719 kB / 1.311 GB, free: 11.72 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.959e-05/1.283, allocations: 100.9 kB / 1.311 GB, free: 11.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.283, allocations: 1.062 kB / 1.311 GB, free: 11.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004874/1.283, allocations: 94.31 kB / 1.311 GB, free: 11.62 MB / 1.014 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.001522/1.285, allocations: 0.8721 MB / 1.312 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001058/1.286, allocations: 241.8 kB / 1.312 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.286, allocations: 1.094 kB / 1.312 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/1.286, allocations: 95.12 kB / 1.312 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/1.286, allocations: 7.625 kB / 1.312 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/1.293, allocations: 2.678 MB / 1.315 GB, free: 8.766 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/1.294, allocations: 0.6877 MB / 1.316 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005001/1.294, allocations: 52.11 kB / 1.316 GB, free: 8.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/1.295, allocations: 20.11 kB / 1.316 GB, free: 8.004 MB / 1.014 GB Notification: Performance of SimCode: time 1.373e-06/1.295, allocations: 4.906 kB / 1.316 GB, free: 8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/1.339, allocations: 9.822 MB / 1.325 GB, free: 2.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/9.736, allocations: 10.42 kB / 1.325 GB, free: 2.746 MB / 1.014 GB " [Timeout remaining time 290] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.349158766213804]