Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 112.1 kB / 16.42 MB, free: 6.016 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.001603/0.001603, allocations: 191.4 kB / 17.35 MB, free: 5.617 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.09 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.483/2.483, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8162/0.8175, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003091/0.8207, allocations: 1.433 MB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.8222, allocations: 0.78 MB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.8223, allocations: 8 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.685e-05/0.8224, allocations: 3.938 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.8225, allocations: 0 / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008368/0.8233, allocations: 172.5 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.8235, allocations: 47.97 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.8236, allocations: 4 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.8236, allocations: 19.91 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.8237, allocations: 19.98 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.8237, allocations: 7.938 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.8241, allocations: 203.7 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.8242, allocations: 7.938 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.8243, allocations: 23.86 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.8246, allocations: 196 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8246, allocations: 0 / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8247, allocations: 4 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.8247, allocations: 0 / 1.17 GB, free: 0.8945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006056/0.8253, allocations: 426.5 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.8253, allocations: 12.03 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.8254, allocations: 4.891 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.8255, allocations: 180.3 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.8256, allocations: 384 / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.8256, allocations: 8.375 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.8258, allocations: 77.92 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8258, allocations: 0 / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.8258, allocations: 0 / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.8259, allocations: 4 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.826, allocations: 55.89 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.8264, allocations: 272.9 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.8266, allocations: 58.56 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.8267, allocations: 44.91 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.8267, allocations: 4 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.8267, allocations: 38.5 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.8267, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0004015/0.8271, allocations: 183.3 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.8272, allocations: 89.14 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.8273, allocations: 125.8 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.8273, allocations: 25.7 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.8274, allocations: 92.08 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.8274, allocations: 3.953 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.8275, allocations: 25.7 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8276, allocations: 314.8 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.8277, allocations: 59.95 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.8278, allocations: 59.97 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.8281, allocations: 197.8 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.8281, allocations: 3.938 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002956/0.8284, allocations: 213 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.8285, allocations: 67.39 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8285, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8285, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.8286, allocations: 4 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8286, allocations: 7.938 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.8286, allocations: 7.984 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.8286, allocations: 4 kB / 1.173 GB, free: 13.99 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001144/0.8288, allocations: 155.5 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.8288, allocations: 11.89 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.8288, allocations: 3.906 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8288, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8288, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.8289, allocations: 89.06 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.8289, allocations: 7.938 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.829, allocations: 7.984 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.8291, allocations: 7.938 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002883/0.8294, allocations: 282.2 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002964/0.8297, allocations: 320.5 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.923e-05/0.8298, allocations: 55.91 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.8299, allocations: 91.27 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of Backend: time 6.92e-07/0.8299, allocations: 0 / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007327/0.8307, allocations: 330.1 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004811/0.8311, allocations: 0.6306 MB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.004707/0.8359, allocations: 1.813 MB / 1.176 GB, free: 10.07 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches