Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothBlocks",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 1.983/1.983, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.0009273/0.0009273, allocations: 172.1 kB / 492.3 MB, free: 0.6016 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.274/1.274, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008252/0.0008253, allocations: 87.95 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.409e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1957, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7081/0.9038, allocations: 151 MB / 1.36 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.9041, allocations: 74.41 kB / 1.36 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.9174, allocations: 5.113 MB / 1.365 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9174, allocations: 0 / 1.365 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9174, allocations: 7.781 kB / 1.365 GB, free: 34.38 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003971/0.9178, allocations: 412.3 kB / 1.365 GB, free: 34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.9179, allocations: 7.688 kB / 1.365 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.9179, allocations: 40.52 kB / 1.365 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006396/0.9186, allocations: 124.5 kB / 1.366 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.9187, allocations: 179.9 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.9188, allocations: 69.55 kB / 1.366 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.9188, allocations: 3.844 kB / 1.366 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.919, allocations: 115.9 kB / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.919, allocations: 0 / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.9191, allocations: 7.547 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.9191, allocations: 7.797 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.9192, allocations: 77.05 kB / 1.366 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.9201, allocations: 0.491 MB / 1.366 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.9207, allocations: 168.6 kB / 1.367 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.9207, allocations: 42.02 kB / 1.367 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.9208, allocations: 6.328 kB / 1.367 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.9208, allocations: 33.38 kB / 1.367 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.9208, allocations: 0 / 1.367 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002265/0.921, allocations: 110.6 kB / 1.367 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.9211, allocations: 51.41 kB / 1.367 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.9212, allocations: 129.8 kB / 1.367 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.9212, allocations: 25.7 kB / 1.367 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.9212, allocations: 120.4 kB / 1.367 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.9213, allocations: 18.97 kB / 1.367 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.9213, allocations: 0 / 1.367 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.9214, allocations: 324.5 kB / 1.367 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.9214, allocations: 35.03 kB / 1.368 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.9215, allocations: 53.92 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.9216, allocations: 36.75 kB / 1.368 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9216, allocations: 0 / 1.368 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001707/0.9217, allocations: 121.3 kB / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.9218, allocations: 7.688 kB / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.9218, allocations: 0 / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.9218, allocations: 0 / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.922, allocations: 46.23 kB / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.922, allocations: 3.938 kB / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.9222, allocations: 42.23 kB / 1.368 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.9223, allocations: 0 / 1.368 GB, free: 32.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.208e-05/0.9223, allocations: 107.7 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.9224, allocations: 11.72 kB / 1.368 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.9226, allocations: 119.1 kB / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9226, allocations: 0 / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.9226, allocations: 0 / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.9226, allocations: 0 / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.9228, allocations: 252.9 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9228, allocations: 0 / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.923, allocations: 46.3 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.923, allocations: 0 / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.923, allocations: 5.297 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9231, allocations: 0 / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9231, allocations: 0 / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.9233, allocations: 215.3 kB / 1.369 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.9233, allocations: 81.02 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.9233, allocations: 3.969 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.9236, allocations: 43.19 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.9236, allocations: 10.89 kB / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.9237, allocations: 6.703 kB / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.9237, allocations: 105.2 kB / 1.369 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.91e-07/0.9237, allocations: 0 / 1.369 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002217/0.924, allocations: 26.41 kB / 1.369 GB, free: 31.82 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0003747/0.9243, allocations: 0.7298 MB / 1.37 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.9245, allocations: 92.19 kB / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9245, allocations: 0 / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/0.9246, allocations: 43.36 kB / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.9248, allocations: 4.062 kB / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.9251, allocations: 181.5 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.9254, allocations: 0.7115 MB / 1.371 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.9255, allocations: 19.64 kB / 1.371 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.9255, allocations: 38.64 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.9255, allocations: 0 / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.9371, allocations: 2.402 MB / 1.373 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001287/0.9373, allocations: 149.1 kB / 1.373 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/2.402, allocations: 0 / 1.373 GB, free: 29.83 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat does not exist to compare? outputFormat=mat