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.0009201/0.0009202, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0009803/0.0009804, allocations: 177.3 kB / 15.94 MB, free: 220 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.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.424/2.424, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0003999, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7276, allocations: 142.3 MB / 0.9536 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006473/0.7283, allocations: 336.8 kB / 0.9539 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.7298, allocations: 1.378 MB / 0.9553 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.7298, allocations: 1.562 kB / 0.9553 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.926e-05/0.7299, allocations: 3.938 kB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.501e-05/0.7299, allocations: 1.562 kB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.7304, allocations: 158 kB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.851e-05/0.7305, allocations: 16.33 kB / 0.9554 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.7305, allocations: 5.547 kB / 0.9554 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.7306, allocations: 17.22 kB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.7306, allocations: 28.89 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.7306, allocations: 2.344 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.7309, allocations: 204.5 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.7309, allocations: 7.938 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.731, allocations: 32.05 kB / 0.9557 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.7312, allocations: 149.5 kB / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.7312, allocations: 0 / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7312, allocations: 0 / 0.9559 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.7312, allocations: 0 / 0.9559 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.0002638/0.7314, allocations: 390.7 kB / 0.9562 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.7315, allocations: 9.031 kB / 0.9562 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.64e-05/0.7315, allocations: 37 kB / 0.9563 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.7315, allocations: 5.891 kB / 0.9563 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.604e-05/0.7316, allocations: 174.6 kB / 0.9565 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.7316, allocations: 4.875 kB / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.7316, allocations: 2.531 kB / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.7318, allocations: 71.03 kB / 0.9565 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.7318, allocations: 0 / 0.9565 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.7318, allocations: 1.156 kB / 0.9565 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.7318, allocations: 0 / 0.9565 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.7319, allocations: 41.52 kB / 0.9566 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.38e-05/0.732, allocations: 160.6 kB / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.365e-05/0.7321, allocations: 71.92 kB / 0.9568 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.7321, allocations: 0 / 0.9568 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.7321, allocations: 31.97 kB / 0.9568 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.7321, allocations: 3.984 kB / 0.9568 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002956/0.7324, allocations: 262.6 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.7324, allocations: 84.2 kB / 0.9572 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.7325, allocations: 126.9 kB / 0.9573 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.7325, allocations: 26.64 kB / 0.9573 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.7325, allocations: 86.17 kB / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.7326, allocations: 27.05 kB / 0.9574 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.7326, allocations: 1.031 kB / 0.9574 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.7326, allocations: 324.7 kB / 0.9577 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.7327, allocations: 33.06 kB / 0.9578 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.44e-05/0.7327, allocations: 36.84 kB / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.7328, allocations: 70.05 kB / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7328, allocations: 0 / 0.9579 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001517/0.733, allocations: 146.9 kB / 0.958 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.733, allocations: 40.38 kB / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.733, allocations: 0.9062 kB / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.733, allocations: 0 / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.733, allocations: 1.406 kB / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.733, allocations: 0 / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.021e-05/0.7331, allocations: 9.344 kB / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.7332, allocations: 12.98 kB / 0.9581 GB, free: 4.188 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 6.462e-05/0.7332, allocations: 148.6 kB / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.7333, allocations: 8.312 kB / 0.9582 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.7333, allocations: 9.625 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.7333, allocations: 1.25 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7333, allocations: 0 / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7333, allocations: 0 / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.495e-05/0.7334, allocations: 178.2 kB / 0.9584 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7334, allocations: 1.281 kB / 0.9584 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.7334, allocations: 0 / 0.9584 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.7334, allocations: 0 / 0.9584 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.7334, allocations: 2.812 kB / 0.9584 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7334, allocations: 5.281 kB / 0.9584 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7334, allocations: 4 kB / 0.9584 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.7336, allocations: 199.1 kB / 0.9586 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.7336, allocations: 78.17 kB / 0.9587 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.7336, allocations: 3.281 kB / 0.9587 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.483e-05/0.7337, allocations: 8.109 kB / 0.9587 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.7337, allocations: 7.062 kB / 0.9587 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.7337, allocations: 8.391 kB / 0.9587 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.755e-05/0.7338, allocations: 91.33 kB / 0.9588 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7338, allocations: 4 kB / 0.9588 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002919/0.7341, allocations: 77.95 kB / 0.9589 GB, free: 3.453 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.0004942/0.7346, allocations: 0.8116 MB / 0.9596 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.7347, allocations: 207.1 kB / 0.9598 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7348, allocations: 4.094 kB / 0.9598 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.7349, allocations: 155.7 kB / 0.96 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.544e-05/0.735, allocations: 6.688 kB / 0.96 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.7353, allocations: 235.3 kB / 0.9602 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.292e-05/0.7354, allocations: 0.6891 MB / 0.9609 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.98e-06/0.7354, allocations: 0 / 0.9609 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.7355, allocations: 16.88 kB / 0.9609 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7355, allocations: 0 / 0.9609 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.7474, allocations: 2.759 MB / 0.9636 GB, free: 300 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.7475, allocations: 200.5 kB / 0.9638 GB, free: 52 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.336, allocations: 0 / 0.9638 GB, free: 52 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