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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.004861/0.004861, allocations: 103.6 kB / 15.74 MB, free: 6.445 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.001427/0.001427, allocations: 196.7 kB / 16.67 MB, free: 6.352 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.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.461/2.461, allocations: 437.1 MB / 0.7106 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2504, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002354/0.2528, allocations: 1.434 MB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2539, allocations: 0.7762 MB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.254, allocations: 3.938 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.254, allocations: 3.984 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.86e-05/0.2541, allocations: 3.938 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.2546, allocations: 171.6 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2547, allocations: 51.91 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.2548, allocations: 8 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.2548, allocations: 11.98 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.2549, allocations: 19.92 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2549, allocations: 4 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.2552, allocations: 211.6 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.2553, allocations: 8 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.2553, allocations: 19.88 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.2556, allocations: 191.7 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2556, allocations: 7.984 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2556, allocations: 3.938 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2556, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 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.0004355/0.2561, allocations: 426.5 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2561, allocations: 12.03 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.2561, allocations: 30.75 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.2562, allocations: 8.891 kB / 1.17 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2563, allocations: 176.3 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2563, allocations: 4.375 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.2563, allocations: 12.3 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2565, allocations: 73.8 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2565, allocations: 4 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.2565, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2565, allocations: 0 / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.2566, allocations: 47.95 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.257, allocations: 280.9 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2571, allocations: 62.48 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.2572, allocations: 48.91 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.2572, allocations: 3.984 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.2573, allocations: 30.56 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.2573, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003622/0.2576, allocations: 191.3 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.2577, allocations: 77.11 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2578, allocations: 137.7 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2578, allocations: 25.7 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.2579, allocations: 88.12 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.2579, allocations: 7.953 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.258, allocations: 21.7 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2581, allocations: 322.8 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/0.2582, allocations: 55.97 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.2583, allocations: 59.95 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.2585, allocations: 189.9 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2585, allocations: 0 / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002793/0.2588, allocations: 217 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.2589, allocations: 71.39 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2589, allocations: 4 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.2589, allocations: 3.938 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.259, allocations: 4 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.259, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.259, allocations: 11.92 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.259, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 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.0001004/0.2591, allocations: 147.5 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.2592, allocations: 7.953 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.2592, allocations: 11.83 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2592, allocations: 8 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2592, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2592, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.2594, allocations: 173.6 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2594, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.2594, allocations: 8.062 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2594, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2594, allocations: 0 / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2595, allocations: 4 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2595, allocations: 0 / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.2597, allocations: 257 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.2598, allocations: 89.03 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2598, allocations: 0 / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.2599, allocations: 4 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.26, allocations: 7.984 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.26, allocations: 4 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.26, allocations: 95.7 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.26, allocations: 4.031 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002719/0.2603, allocations: 51.94 kB / 1.172 GB, free: 408 kB / 0.92 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0007006/0.261, allocations: 0.835 MB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.2613, allocations: 250.7 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2614, allocations: 0 / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2615, allocations: 99.38 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.2617, allocations: 8.328 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.2634, allocations: 1.748 MB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.2637, allocations: 0.6849 MB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.345e-05/0.2637, allocations: 0 / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.2637, allocations: 15.42 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.2638, allocations: 7.938 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.676/1.939, allocations: 2.83 MB / 1.179 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.9, allocations: 22.59 kB / 1.179 GB, free: 9.898 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > 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