Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.35/2.35, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001395/0.001396, allocations: 183.3 kB / 498.1 MB, free: 5.672 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.521/1.521, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.0009434/0.0009433, allocations: 101 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003888, allocations: 16.88 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3254, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.5209, allocations: 149.7 MB / 1.369 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5212, allocations: 75.95 kB / 1.369 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003481/0.5247, allocations: 1.12 MB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.946e-06/0.5248, allocations: 4 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.5248, allocations: 0 / 1.37 GB, free: 11.09 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.0004065/0.5252, allocations: 347.2 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5253, allocations: 12.03 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.5253, allocations: 30.56 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.5254, allocations: 4 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.5255, allocations: 175 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.5255, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.5255, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.5257, allocations: 53.67 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5258, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5258, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5258, allocations: 4 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.526, allocations: 47.95 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.5265, allocations: 284.7 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.5266, allocations: 38.56 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.5267, allocations: 81.17 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5268, allocations: 34.55 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.5268, allocations: 0 / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003843/0.5272, allocations: 101.6 kB / 1.371 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.5272, allocations: 55.52 kB / 1.371 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.5273, allocations: 105 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.5273, allocations: 25.7 kB / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.5274, allocations: 84.14 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.5274, allocations: 7.844 kB / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.5274, allocations: 0 / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5275, allocations: 318.8 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.5276, allocations: 23.98 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.5277, allocations: 19.98 kB / 1.372 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.719e-05/0.5278, allocations: 19.98 kB / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5278, allocations: 0 / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002137/0.528, allocations: 81.72 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5281, allocations: 8 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5281, allocations: 0 / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5281, allocations: 3.984 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.5282, allocations: 15.92 kB / 1.372 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5282, allocations: 4.031 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.5283, allocations: 11.98 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.5283, allocations: 3.953 kB / 1.372 GB, free: 8.895 MB / 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 6.866e-05/0.5283, allocations: 105.8 kB / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.5284, allocations: 4 kB / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.5286, allocations: 88.69 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5287, allocations: 0 / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5287, allocations: 0 / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5287, allocations: 0 / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.5288, allocations: 161.6 kB / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5288, allocations: 0 / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.5289, allocations: 16.02 kB / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5289, allocations: 7.938 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.5289, allocations: 3.938 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5289, allocations: 0 / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.529, allocations: 0 / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.5292, allocations: 175.5 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.5293, allocations: 81.11 kB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.5293, allocations: 0 / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.5294, allocations: 7.984 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.5294, allocations: 4 kB / 1.373 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.5294, allocations: 0 / 1.373 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.5295, allocations: 87.31 kB / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5295, allocations: 0 / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002109/0.5297, allocations: 7.938 kB / 1.373 GB, free: 8.059 MB / 0.8698 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.0006181/0.5303, allocations: 0.7238 MB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.5305, allocations: 39.97 kB / 1.374 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5305, allocations: 8.094 kB / 1.374 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.5306, allocations: 31.91 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.5309, allocations: 2.031 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.5313, allocations: 146.3 kB / 1.374 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.5315, allocations: 0.681 MB / 1.374 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.5316, allocations: 4 kB / 1.374 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.5316, allocations: 11.44 kB / 1.374 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/0.5316, allocations: 0 / 1.374 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.5447, allocations: 1.144 MB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.5449, allocations: 177.4 kB / 1.376 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.167, allocations: 0 / 1.376 GB, free: 5.055 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat does not exist to compare? outputFormat=mat