Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001183/0.001184, allocations: 195.2 kB / 498.1 MB, free: 5.742 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.547/1.547, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0009143/0.0009143, allocations: 98.55 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004044, allocations: 9.828 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.312, allocations: 142.4 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.5138, allocations: 149.3 MB / 1.369 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5141, allocations: 71.97 kB / 1.369 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004098/0.5182, allocations: 1.364 MB / 1.37 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.544e-06/0.5182, allocations: 0 / 1.37 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5182, allocations: 3.938 kB / 1.37 GB, free: 2.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004223/0.5187, allocations: 356.1 kB / 1.37 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5187, allocations: 16.02 kB / 1.371 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.5188, allocations: 34.56 kB / 1.371 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.5188, allocations: 0 / 1.371 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.519, allocations: 171 kB / 1.371 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.519, allocations: 0 / 1.371 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.519, allocations: 3.938 kB / 1.371 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.5192, allocations: 61.61 kB / 1.371 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5192, allocations: 0 / 1.371 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.5192, allocations: 0 / 1.371 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5192, allocations: 0 / 1.371 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.5194, allocations: 47.95 kB / 1.371 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.5199, allocations: 268.8 kB / 1.371 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.5201, allocations: 46.48 kB / 1.371 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.5202, allocations: 89.16 kB / 1.371 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5202, allocations: 30.56 kB / 1.371 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.5202, allocations: 0 / 1.371 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004037/0.5206, allocations: 97.64 kB / 1.371 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.5207, allocations: 55.41 kB / 1.371 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.5208, allocations: 100.9 kB / 1.371 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.5208, allocations: 25.7 kB / 1.371 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.5208, allocations: 88.08 kB / 1.372 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.5209, allocations: 11.84 kB / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.5209, allocations: 0 / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5211, allocations: 315 kB / 1.372 GB, free: 500 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.5212, allocations: 27.97 kB / 1.372 GB, free: 472 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.5212, allocations: 15.98 kB / 1.372 GB, free: 456 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.202e-05/0.5213, allocations: 28.05 kB / 1.372 GB, free: 428 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5213, allocations: 0 / 1.372 GB, free: 428 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/0.5215, allocations: 73.66 kB / 1.372 GB, free: 348 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5216, allocations: 8.031 kB / 1.372 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5216, allocations: 0 / 1.372 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5216, allocations: 0 / 1.372 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.5217, allocations: 15.98 kB / 1.372 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5217, allocations: 0 / 1.372 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.5218, allocations: 4 kB / 1.372 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.5218, allocations: 3.953 kB / 1.372 GB, free: 316 kB / 0.8698 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.451e-05/0.5219, allocations: 121.8 kB / 1.372 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.5219, allocations: 3.984 kB / 1.372 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.5222, allocations: 80.69 kB / 1.372 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5222, allocations: 0 / 1.372 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5222, allocations: 7.938 kB / 1.372 GB, free: 84 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5222, allocations: 7.969 kB / 1.372 GB, free: 76 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.5224, allocations: 161.6 kB / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5224, allocations: 0 / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.5225, allocations: 11.98 kB / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5225, allocations: 0 / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5225, allocations: 256 / 1.372 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5225, allocations: 4 kB / 1.372 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5225, allocations: 7.984 kB / 1.372 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.5228, allocations: 175.4 kB / 1.373 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.5228, allocations: 81.11 kB / 1.373 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.5229, allocations: 3.984 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.523, allocations: 12.03 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.523, allocations: 3.984 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.523, allocations: 4 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.5231, allocations: 75.28 kB / 1.373 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5231, allocations: 4 kB / 1.373 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002427/0.5233, allocations: 16 kB / 1.373 GB, free: 15.44 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0006004/0.5239, allocations: 0.7316 MB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.5241, allocations: 44 kB / 1.374 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5242, allocations: 4 kB / 1.374 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.5243, allocations: 19.98 kB / 1.374 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.5245, allocations: 10.64 kB / 1.374 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.5249, allocations: 150.2 kB / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.5252, allocations: 0.6847 MB / 1.374 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.5252, allocations: 4 kB / 1.374 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.5253, allocations: 7.438 kB / 1.374 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.5253, allocations: 0 / 1.374 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.5377, allocations: 1.137 MB / 1.376 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.5379, allocations: 183.5 kB / 1.376 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.131, allocations: 0 / 1.376 GB, free: 12.43 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat does not exist to compare? outputFormat=mat