Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001871/0.001871, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001972/0.001972, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 59.91 kB / 1.104 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.8436, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002027/0.8456, allocations: 0.6176 MB / 1.269 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.8478, allocations: 1.394 MB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.8478, allocations: 0 / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.69e-05/0.8479, allocations: 3.938 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.8479, allocations: 4 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.8487, allocations: 175.6 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.8488, allocations: 51.84 kB / 1.271 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.8489, allocations: 7.984 kB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.8489, allocations: 15.97 kB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.849, allocations: 35.84 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.849, allocations: 0 / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.8494, allocations: 203.7 kB / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.8494, allocations: 19.91 kB / 1.271 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.8495, allocations: 23.88 kB / 1.271 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.8498, allocations: 185.3 kB / 1.271 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8498, allocations: 0 / 1.271 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8498, allocations: 0 / 1.271 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8498, allocations: 0 / 1.271 GB, free: 2.418 MB / 0.9669 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.0005659/0.8504, allocations: 446.3 kB / 1.272 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.8504, allocations: 8.031 kB / 1.272 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.8505, allocations: 42.69 kB / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.8505, allocations: 12.88 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.8507, allocations: 178.6 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.8507, allocations: 384 / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.8507, allocations: 12.31 kB / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.8509, allocations: 97.77 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.8509, allocations: 0 / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.8509, allocations: 0 / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8509, allocations: 0 / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.851, allocations: 59.95 kB / 1.272 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.8512, allocations: 177.7 kB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.8514, allocations: 78.47 kB / 1.273 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.8515, allocations: 64.89 kB / 1.273 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.8515, allocations: 0 / 1.273 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.8515, allocations: 34.5 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8515, allocations: 4 kB / 1.273 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004568/0.852, allocations: 251.2 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.8521, allocations: 93.12 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.8522, allocations: 145.8 kB / 1.273 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.8522, allocations: 25.7 kB / 1.273 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.8523, allocations: 96.08 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.8523, allocations: 3.953 kB / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.8524, allocations: 29.7 kB / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8525, allocations: 322.8 kB / 1.274 GB, free: 36 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.8527, allocations: 99.94 kB / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.8528, allocations: 103.9 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.8532, allocations: 277.8 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8532, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004004/0.8536, allocations: 328.7 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.8536, allocations: 71.38 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8536, allocations: 0 / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8536, allocations: 3.938 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.8536, allocations: 0 / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.8536, allocations: 0 / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.8538, allocations: 19.95 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.8539, allocations: 4 kB / 1.274 GB, free: 15.09 MB / 0.9825 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.0001332/0.854, allocations: 151.5 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.854, allocations: 7.891 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.854, allocations: 12.23 kB / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.854, allocations: 0 / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.854, allocations: 3.938 kB / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.854, allocations: 0 / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.8542, allocations: 173.6 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8542, allocations: 7.938 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.8542, allocations: 0 / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8542, allocations: 4 kB / 1.275 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.8542, allocations: 4 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8542, allocations: 0 / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8542, allocations: 0 / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.8545, allocations: 230.8 kB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.8546, allocations: 88.98 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.8546, allocations: 4 kB / 1.275 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.8547, allocations: 12.03 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.8548, allocations: 7.984 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.8548, allocations: 0 / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.387e-05/0.8548, allocations: 113.5 kB / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8548, allocations: 4 kB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003235/0.8552, allocations: 67.86 kB / 1.275 GB, free: 14.11 MB / 0.9825 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.0007982/0.856, allocations: 0.8112 MB / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.8564, allocations: 330.6 kB / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8564, allocations: 0 / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.8565, allocations: 123.4 kB / 1.276 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.8567, allocations: 4 kB / 1.276 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.8591, allocations: 2.147 MB / 1.279 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.8595, allocations: 0.6885 MB / 1.279 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.684e-06/0.8595, allocations: 0 / 1.279 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.8595, allocations: 27.58 kB / 1.279 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.8595, allocations: 4 kB / 1.279 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.8885, allocations: 3.308 MB / 1.283 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/9.287, allocations: 6.219 kB / 1.283 GB, free: 6.578 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.42511069495231]