Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.00813/0.00813, allocations: 99.7 kB / 15.73 MB, free: 6.492 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.002127/0.002128, allocations: 198 kB / 16.67 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.31 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2426, allocations: 140.4 MB / 1.088 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001702/0.2444, allocations: 0.6181 MB / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2461, allocations: 1.385 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.2462, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.544e-05/0.2462, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.2463, allocations: 3.938 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.247, allocations: 179.5 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2471, allocations: 47.95 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.2471, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.2472, allocations: 19.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.2472, allocations: 23.95 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.2472, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.2476, allocations: 203.7 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.2476, allocations: 17.34 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.2477, allocations: 27.86 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.248, allocations: 182.4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.248, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.248, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.248, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 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.0004388/0.2485, allocations: 443.5 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2485, allocations: 12.03 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.2485, allocations: 30.75 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.2486, allocations: 12.84 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2487, allocations: 173.8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2487, allocations: 8.375 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2487, allocations: 384 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.2489, allocations: 105.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2489, allocations: 3.938 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2489, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2489, allocations: 4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.249, allocations: 59.95 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.2492, allocations: 173.6 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.2493, allocations: 82.53 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.2494, allocations: 68.89 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.2494, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2494, allocations: 42.44 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.2494, allocations: 3.984 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003549/0.2498, allocations: 255.2 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.2499, allocations: 77.11 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.25, allocations: 151.3 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.25, allocations: 25.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.25, allocations: 88.14 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.2501, allocations: 11.91 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.2501, allocations: 29.7 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.2502, allocations: 318.8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.2503, allocations: 99.94 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.2505, allocations: 103.9 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.2507, allocations: 281.9 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2507, allocations: 3.938 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003278/0.2511, allocations: 320.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.2511, allocations: 71.39 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2511, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2512, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.2512, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.2512, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2513, allocations: 15.78 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2513, allocations: 4 kB / 1.093 GB, free: 11.96 MB / 0.8575 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.0001054/0.2514, allocations: 155.5 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.2515, allocations: 15.84 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/0.2515, allocations: 8.188 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2515, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2515, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2515, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.2516, allocations: 165.6 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2516, allocations: 3.938 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.2516, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2516, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2517, allocations: 4 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2517, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2517, allocations: 7.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2519, allocations: 226.6 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.252, allocations: 88.95 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.252, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.2521, allocations: 7.984 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.2521, allocations: 12.03 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2521, allocations: 4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.2522, allocations: 105.3 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.502e-06/0.2522, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003021/0.2525, allocations: 75.92 kB / 1.094 GB, free: 10.97 MB / 0.8575 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.0007218/0.2533, allocations: 0.8092 MB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.2537, allocations: 370.6 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2537, allocations: 0 / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.2538, allocations: 139.3 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.254, allocations: 7.984 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.2559, allocations: 2.127 MB / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.2562, allocations: 0.6924 MB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.362e-06/0.2562, allocations: 0 / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.2562, allocations: 15.44 kB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2562, allocations: 3.938 kB / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.2751, allocations: 3.359 MB / 1.101 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.758, allocations: 0 / 1.101 GB, free: 3.371 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches