Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.342/2.342, allocations: 393.5 MB / 408.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 175.9 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 105.9 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 13.8 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2911, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.4796, allocations: 151.5 MB / 1.377 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.48, allocations: 91.94 kB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.4902, allocations: 3.269 MB / 1.381 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4902, allocations: 0 / 1.381 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.4902, allocations: 0 / 1.381 GB, free: 14.47 MB / 0.8855 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.0005072/0.4908, allocations: 430.6 kB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4908, allocations: 12.03 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.4909, allocations: 30.56 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.4909, allocations: 11.91 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4911, allocations: 182.9 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.4911, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.4911, allocations: 7.984 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.4913, allocations: 77.59 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4913, allocations: 0 / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.4913, allocations: 0 / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4914, allocations: 4 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.4915, allocations: 51.97 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.4919, allocations: 284.8 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.492, allocations: 62.55 kB / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.4921, allocations: 0 / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4921, allocations: 38.56 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.4921, allocations: 4.031 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0004313/0.4925, allocations: 268.3 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.4926, allocations: 81.11 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.4927, allocations: 116.9 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4927, allocations: 29.73 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.4928, allocations: 88.12 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.4928, allocations: 11.81 kB / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.4928, allocations: 0 / 1.382 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4929, allocations: 318.8 kB / 1.383 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/0.4931, allocations: 59.95 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/0.4931, allocations: 55.97 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4933, allocations: 111.4 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4933, allocations: 0 / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002905/0.4936, allocations: 217 kB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.4937, allocations: 63.41 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4937, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4937, allocations: 3.938 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.4938, allocations: 7.984 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4938, allocations: 0 / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.4938, allocations: 19.88 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.4939, allocations: 7.953 kB / 1.383 GB, free: 11.57 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.494, allocations: 152.3 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.494, allocations: 3.906 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.494, allocations: 7.906 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4941, allocations: 0 / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4941, allocations: 0 / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4941, allocations: 4 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.4942, allocations: 177.6 kB / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4943, allocations: 0 / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.4943, allocations: 7.984 kB / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4943, allocations: 0 / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4943, allocations: 0 / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4943, allocations: 0 / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4943, allocations: 0 / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4946, allocations: 265.2 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.4947, allocations: 77.34 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.4947, allocations: 0 / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.4948, allocations: 11.98 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.4949, allocations: 7.984 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.4949, allocations: 4.062 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.4949, allocations: 99.7 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4949, allocations: 4.031 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003477/0.4953, allocations: 63.92 kB / 1.384 GB, free: 10.6 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007861/0.4961, allocations: 0.8506 MB / 1.385 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.4964, allocations: 242.7 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4964, allocations: 0 / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.4966, allocations: 107.4 kB / 1.385 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.4967, allocations: 336 / 1.385 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/0.4974, allocations: 420.4 kB / 1.386 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.4977, allocations: 0.6887 MB / 1.386 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.4977, allocations: 0 / 1.386 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.4977, allocations: 15.44 kB / 1.386 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of SimCode: time 4.849e-06/0.4977, allocations: 0 / 1.386 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.5126, allocations: 2.453 MB / 1.389 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.5129, allocations: 229.8 kB / 1.389 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.219, allocations: 0 / 1.389 GB, free: 5.648 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat does not exist to compare? outputFormat=mat