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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008769/0.000877, allocations: 99.7 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.0009302/0.0009302, allocations: 177.3 kB / 15.95 MB, free: 216 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.469/1.469, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.465/2.465, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004094, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.876, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001903/0.878, allocations: 1.45 MB / 0.955 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009612/0.879, allocations: 0.5875 MB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.879, allocations: 1.469 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.8791, allocations: 11.86 kB / 0.9556 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.8791, allocations: 10.91 kB / 0.9556 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.8797, allocations: 158.8 kB / 0.9557 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.8798, allocations: 68.38 kB / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.8799, allocations: 39.69 kB / 0.9558 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.8801, allocations: 47.16 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.8801, allocations: 38.95 kB / 0.9559 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.8802, allocations: 4.625 kB / 0.9559 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.8803, allocations: 32.09 kB / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.8803, allocations: 28.95 kB / 0.956 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.8803, allocations: 39.05 kB / 0.956 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.8805, allocations: 88.48 kB / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.8805, allocations: 0 / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8805, allocations: 0 / 0.9561 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.8805, allocations: 4 kB / 0.9561 GB, free: 6.086 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000504/0.881, allocations: 415.1 kB / 0.9565 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.8811, allocations: 9.969 kB / 0.9565 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.8811, allocations: 44.86 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/0.882, allocations: 151 kB / 0.9567 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.8821, allocations: 178.8 kB / 0.9569 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/0.8822, allocations: 67.89 kB / 0.9569 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.8822, allocations: 9.969 kB / 0.957 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.8828, allocations: 180.9 kB / 0.9571 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8828, allocations: 3.953 kB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.8828, allocations: 5.094 kB / 0.9571 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8828, allocations: 10.17 kB / 0.9571 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.8835, allocations: 188 kB / 0.9573 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.8846, allocations: 0.502 MB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.8856, allocations: 273.6 kB / 0.9581 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.8856, allocations: 1.594 kB / 0.9581 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.8857, allocations: 36 kB / 0.9581 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.8857, allocations: 0 / 0.9581 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.001047/0.8867, allocations: 318.8 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.8868, allocations: 55.36 kB / 0.9585 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.8869, allocations: 135.5 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.8869, allocations: 31.08 kB / 0.9586 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.887, allocations: 121.6 kB / 0.9587 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.887, allocations: 14.55 kB / 0.9588 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.887, allocations: 0 / 0.9588 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.8871, allocations: 321.6 kB / 0.9591 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.8874, allocations: 92.17 kB / 0.9592 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.8877, allocations: 109.5 kB / 0.9593 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.888, allocations: 92.17 kB / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.888, allocations: 1.375 kB / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006735/0.8887, allocations: 236.7 kB / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.8887, allocations: 5.656 kB / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8888, allocations: 1.125 kB / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.8888, allocations: 5.188 kB / 0.9596 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.8891, allocations: 46.38 kB / 0.9596 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.8891, allocations: 1.312 kB / 0.9596 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.8893, allocations: 46.98 kB / 0.9597 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.8893, allocations: 3.938 kB / 0.9597 GB, free: 3.328 MB / 0.7169 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 () * Number of clocked 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 8.797e-05/0.8894, allocations: 114.6 kB / 0.9598 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.8895, allocations: 7.219 kB / 0.9598 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007719/0.8902, allocations: 246.7 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8902, allocations: 0.6562 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8903, allocations: 4.672 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.8903, allocations: 0.75 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.8905, allocations: 245.9 kB / 0.9603 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8905, allocations: 0 / 0.9603 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.8908, allocations: 39.67 kB / 0.9603 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.8908, allocations: 0.9688 kB / 0.9603 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.8908, allocations: 9 kB / 0.9603 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8908, allocations: 0 / 0.9603 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8909, allocations: 8.922 kB / 0.9603 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/0.8916, allocations: 321.9 kB / 0.9606 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.8917, allocations: 83.02 kB / 0.9607 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.8917, allocations: 5.031 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.892, allocations: 39.92 kB / 0.9608 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.8921, allocations: 3.531 kB / 0.9608 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.8921, allocations: 11.41 kB / 0.9608 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.8922, allocations: 112.3 kB / 0.9609 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8922, allocations: 0 / 0.9609 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00027/0.8924, allocations: 31.19 kB / 0.9609 GB, free: 2.332 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 (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.0009279/0.8934, allocations: 0.8489 MB / 0.9617 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000695/0.8941, allocations: 199.6 kB / 0.9619 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8941, allocations: 1.344 kB / 0.9619 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.8944, allocations: 97.33 kB / 0.962 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.8946, allocations: 20.25 kB / 0.962 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.8957, allocations: 0.7974 MB / 0.9628 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.8958, allocations: 0.7005 MB / 0.9635 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.896, allocations: 18.36 kB / 0.9635 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.896, allocations: 36.05 kB / 0.9636 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.8961, allocations: 0 / 0.9636 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.9119, allocations: 2.394 MB / 0.9659 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.9123, allocations: 169.2 kB / 0.9661 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.574, allocations: 4 kB / 0.9661 GB, free: 14.55 MB / 0.7325 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