Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.SmoothInterpolation,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.0008198/0.0008198, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008045/0.0008045, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.6915, allocations: 142.3 MB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007939/0.6923, allocations: 356 kB / 0.9542 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.694, allocations: 1.375 MB / 0.9555 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.694, allocations: 1.281 kB / 0.9555 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.03e-05/0.6941, allocations: 3.938 kB / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.736e-05/0.6941, allocations: 1.156 kB / 0.9555 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.6947, allocations: 163.2 kB / 0.9557 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.6947, allocations: 29.5 kB / 0.9557 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.6948, allocations: 1.375 kB / 0.9557 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.6948, allocations: 16.72 kB / 0.9557 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.6949, allocations: 21.14 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.6949, allocations: 1.156 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.6952, allocations: 235.8 kB / 0.956 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.6953, allocations: 3.312 kB / 0.956 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.6953, allocations: 27.89 kB / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.6955, allocations: 145 kB / 0.9562 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6955, allocations: 4 kB / 0.9562 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6955, allocations: 0 / 0.9562 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.6955, allocations: 1.094 kB / 0.9562 GB, free: 6.301 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002665/0.6958, allocations: 393.3 kB / 0.9565 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.6958, allocations: 9.844 kB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.405e-05/0.6958, allocations: 40.78 kB / 0.9566 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.6959, allocations: 6.203 kB / 0.9566 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.5e-05/0.6959, allocations: 166.3 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.696, allocations: 1.156 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.696, allocations: 10.09 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.6961, allocations: 75.33 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.6961, allocations: 0 / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.6961, allocations: 1.062 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6961, allocations: 0 / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.6962, allocations: 37.81 kB / 0.9569 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.38e-05/0.6963, allocations: 167.7 kB / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.633e-05/0.6964, allocations: 59.8 kB / 0.9571 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.6964, allocations: 58.02 kB / 0.9571 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-06/0.6965, allocations: 0 / 0.9571 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.6965, allocations: 32.09 kB / 0.9572 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.6965, allocations: 0 / 0.9572 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002752/0.6968, allocations: 184.5 kB / 0.9574 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.6968, allocations: 84.02 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.6969, allocations: 115.4 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.6969, allocations: 25.7 kB / 0.9576 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.6969, allocations: 94.44 kB / 0.9577 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.6969, allocations: 22.92 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.6969, allocations: 1.188 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.697, allocations: 320.8 kB / 0.958 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.6971, allocations: 33.39 kB / 0.958 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.6971, allocations: 31.97 kB / 0.958 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.4e-05/0.6972, allocations: 70.14 kB / 0.9581 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6972, allocations: 0 / 0.9581 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.6974, allocations: 151.6 kB / 0.9583 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.6974, allocations: 49.47 kB / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.6974, allocations: 0 / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.6974, allocations: 1.438 kB / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.6974, allocations: 0 / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.6974, allocations: 0 / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.6975, allocations: 10.2 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.6976, allocations: 9.391 kB / 0.9583 GB, free: 4.262 MB / 0.7169 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 (1): * Single equations (assignments): 0 * 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 prepare postOptimizeDAE: time 7.372e-05/0.6976, allocations: 144.7 kB / 0.9585 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.6977, allocations: 11.5 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.074e-05/0.6977, allocations: 10.16 kB / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.6977, allocations: 0 / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6977, allocations: 1.875 kB / 0.9585 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6977, allocations: 3.984 kB / 0.9585 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.083e-05/0.6978, allocations: 170.5 kB / 0.9587 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6978, allocations: 0 / 0.9587 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.6978, allocations: 0 / 0.9587 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6978, allocations: 0 / 0.9587 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.6978, allocations: 7.469 kB / 0.9587 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.6978, allocations: 0 / 0.9587 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6978, allocations: 13.8 kB / 0.9587 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.698, allocations: 202.3 kB / 0.9589 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.6981, allocations: 82.47 kB / 0.9589 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.6981, allocations: 2.625 kB / 0.9589 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.6981, allocations: 5.344 kB / 0.959 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.6982, allocations: 6.672 kB / 0.959 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.6982, allocations: 9.031 kB / 0.959 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.6982, allocations: 91.72 kB / 0.9591 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6982, allocations: 4.031 kB / 0.9591 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003066/0.6985, allocations: 73.47 kB / 0.9591 GB, free: 3.523 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * 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.0005385/0.6991, allocations: 0.7921 MB / 0.9599 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.6993, allocations: 200.8 kB / 0.9601 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6993, allocations: 8.031 kB / 0.9601 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.6994, allocations: 151.4 kB / 0.9602 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.6996, allocations: 8.5 kB / 0.9603 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.7, allocations: 219 kB / 0.9605 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.7001, allocations: 0.683 MB / 0.9611 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.879e-06/0.7001, allocations: 0 / 0.9611 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.7001, allocations: 20.2 kB / 0.9612 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7001, allocations: 0 / 0.9612 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.7124, allocations: 2.837 MB / 0.9639 GB, free: 320 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/0.7125, allocations: 199.6 kB / 0.9641 GB, free: 76 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.303, allocations: 2.812 kB / 0.9641 GB, free: 76 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat does not exist to compare? outputFormat=mat