Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.QuinticHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007642/0.007642, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 191.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8077/0.8092, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002134/0.8113, allocations: 0.6392 MB / 1.167 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005194/0.8119, allocations: 211 kB / 1.167 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.8119, allocations: 0 / 1.167 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.812, allocations: 3.938 kB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.8122, allocations: 3.938 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.8125, allocations: 75.75 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.366e-05/0.8126, allocations: 39.91 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.8126, allocations: 0 / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.8127, allocations: 15.92 kB / 1.167 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.8127, allocations: 23.84 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.8128, allocations: 4 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.813, allocations: 103.8 kB / 1.167 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.813, allocations: 11.94 kB / 1.167 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.8131, allocations: 19.86 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.8133, allocations: 99.8 kB / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8133, allocations: 0 / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8133, allocations: 4 kB / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.8133, allocations: 0 / 1.167 GB, free: 2.578 MB / 0.8887 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.0005866/0.8139, allocations: 361.7 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.814, allocations: 12.92 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.814, allocations: 34.69 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.814, allocations: 12.84 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.8143, allocations: 180.2 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.8143, allocations: 384 / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.8143, allocations: 4.375 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.8145, allocations: 54.23 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.8145, allocations: 3.938 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.8145, allocations: 4 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.8146, allocations: 0 / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.8147, allocations: 31.95 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.815, allocations: 248.9 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.8152, allocations: 78.45 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.8153, allocations: 20.94 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.8153, allocations: 0 / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.8154, allocations: 34.56 kB / 1.168 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.8154, allocations: 4 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.02814/0.8435, allocations: 1.609 MB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.8436, allocations: 59.34 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.8438, allocations: 121.7 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.8438, allocations: 29.7 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.8439, allocations: 92.12 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/0.844, allocations: 27.56 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.8442, allocations: 21.7 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8443, allocations: 326.8 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.8448, allocations: 139.9 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.8453, allocations: 143.9 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009629/0.8463, allocations: 300.7 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.8463, allocations: 0 / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00119/0.8475, allocations: 337.5 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.8475, allocations: 4 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8475, allocations: 0 / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.8476, allocations: 4 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.849, allocations: 59.88 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.8491, allocations: 0 / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.8503, allocations: 48.59 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.8504, allocations: 12 kB / 1.172 GB, free: 13.98 MB / 0.9044 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.0001655/0.8505, allocations: 109.8 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.8506, allocations: 4 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.8508, allocations: 24.36 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8508, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.8508, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8508, allocations: 3.938 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/0.8561, allocations: 0.8453 MB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.8561, allocations: 64 / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.8571, allocations: 55.94 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.8572, allocations: 8.062 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.8572, allocations: 3.938 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.8572, allocations: 3.984 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8572, allocations: 4 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.8582, allocations: 329 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.8582, allocations: 77.11 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.8583, allocations: 7.938 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009276/0.8592, allocations: 39.89 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.8593, allocations: 11.98 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.8593, allocations: 4 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.445e-05/0.8594, allocations: 95.27 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8594, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003962/0.8598, allocations: 100 kB / 1.173 GB, free: 12.16 MB / 0.9044 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.001327/0.8611, allocations: 0.8701 MB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009581/0.8621, allocations: 244 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8621, allocations: 4 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.8625, allocations: 91.94 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.8628, allocations: 8 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006445/0.8693, allocations: 2.681 MB / 1.177 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.8696, allocations: 0.6846 MB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004066/0.87, allocations: 51.98 kB / 1.178 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.8705, allocations: 27.36 kB / 1.178 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of SimCode: time 9.12e-07/0.8705, allocations: 3.938 kB / 1.178 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/0.9051, allocations: 9.806 MB / 1.187 GB, free: 13.59 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.979, allocations: 3.953 kB / 1.187 GB, free: 13.58 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches