Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.0008039/0.000804, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008284/0.0008284, allocations: 168.7 kB / 15.95 MB, free: 204 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.315/1.315, allocations: 223.2 MB / 240 MB, free: 5.41 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.338/2.338, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6893, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006146/0.6899, allocations: 319.6 kB / 0.9542 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002547/0.6902, allocations: 36.03 kB / 0.9542 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.6902, allocations: 0 / 0.9542 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.6903, allocations: 1.219 kB / 0.9542 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.6903, allocations: 5.25 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.6906, allocations: 2.469 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.041e-05/0.6906, allocations: 10.7 kB / 0.9542 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.072e-05/0.6907, allocations: 1.438 kB / 0.9542 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.6908, allocations: 5.438 kB / 0.9542 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.6908, allocations: 1.531 kB / 0.9542 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.6908, allocations: 5.266 kB / 0.9542 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.6909, allocations: 15.17 kB / 0.9542 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.691, allocations: 6.656 kB / 0.9543 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.691, allocations: 27.23 kB / 0.9543 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.6911, allocations: 14.92 kB / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6911, allocations: 0 / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6911, allocations: 0 / 0.9543 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.6911, allocations: 0.9375 kB / 0.9543 GB, free: 7.797 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002708/0.6914, allocations: 351.4 kB / 0.9546 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6915, allocations: 8.969 kB / 0.9546 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.6915, allocations: 35.95 kB / 0.9547 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.6915, allocations: 9.391 kB / 0.9547 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.389e-05/0.6916, allocations: 161.3 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.6916, allocations: 1 kB / 0.9548 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.6917, allocations: 6.031 kB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.6918, allocations: 56.97 kB / 0.9549 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6918, allocations: 5.031 kB / 0.9549 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.6918, allocations: 0 / 0.9549 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.6919, allocations: 5.375 kB / 0.9549 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.031e-05/0.6919, allocations: 35.59 kB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.6923, allocations: 263.1 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.6923, allocations: 24.69 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.6923, allocations: 11.55 kB / 0.9552 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.6923, allocations: 3.984 kB / 0.9552 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.6924, allocations: 31.56 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.6924, allocations: 0 / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.6925, allocations: 65.72 kB / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.6926, allocations: 78.3 kB / 0.9554 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.6926, allocations: 126.5 kB / 0.9555 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.6927, allocations: 25.7 kB / 0.9555 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.6927, allocations: 95.02 kB / 0.9556 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.6927, allocations: 12.94 kB / 0.9556 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.6927, allocations: 1.281 kB / 0.9556 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.6928, allocations: 315.9 kB / 0.9559 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.6928, allocations: 10.5 kB / 0.956 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.6929, allocations: 68.61 kB / 0.956 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.6929, allocations: 46.47 kB / 0.9561 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6929, allocations: 0 / 0.9561 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001527/0.6931, allocations: 123.2 kB / 0.9562 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.6931, allocations: 33.89 kB / 0.9562 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6932, allocations: 1.375 kB / 0.9562 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.6932, allocations: 3.469 kB / 0.9562 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.6933, allocations: 13.7 kB / 0.9562 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6933, allocations: 2.469 kB / 0.9562 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.6933, allocations: 12.94 kB / 0.9563 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.6934, allocations: 13.62 kB / 0.9563 GB, free: 5.707 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 7 * 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.201e-05/0.6934, allocations: 144.9 kB / 0.9564 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.6935, allocations: 4.984 kB / 0.9564 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.092e-05/0.6935, allocations: 5.188 kB / 0.9564 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6935, allocations: 1.281 kB / 0.9564 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6935, allocations: 0 / 0.9564 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6935, allocations: 0 / 0.9564 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.6936, allocations: 157.9 kB / 0.9566 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.6936, allocations: 1.344 kB / 0.9566 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.6936, allocations: 4 kB / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6936, allocations: 0 / 0.9566 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.6937, allocations: 5.641 kB / 0.9566 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6937, allocations: 0 / 0.9566 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6937, allocations: 1.031 kB / 0.9566 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.168e-05/0.6938, allocations: 164.9 kB / 0.9567 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.6938, allocations: 86.34 kB / 0.9568 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.6938, allocations: 5.281 kB / 0.9568 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.6939, allocations: 5.297 kB / 0.9568 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.6939, allocations: 0 / 0.9568 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.6939, allocations: 6.453 kB / 0.9568 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.029e-05/0.6939, allocations: 86.44 kB / 0.9569 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6939, allocations: 0 / 0.9569 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002727/0.6942, allocations: 9.438 kB / 0.9569 GB, free: 4.973 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.0003055/0.6945, allocations: 0.7111 MB / 0.9576 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.6947, allocations: 86.77 kB / 0.9577 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6947, allocations: 0 / 0.9577 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.6947, allocations: 55.75 kB / 0.9578 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.6949, allocations: 6.641 kB / 0.9578 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.6953, allocations: 142.5 kB / 0.9579 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.6955, allocations: 0.6785 MB / 0.9586 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.6956, allocations: 11.27 kB / 0.9586 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.6956, allocations: 12.66 kB / 0.9586 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.6956, allocations: 1.094 kB / 0.9586 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.7068, allocations: 1.222 MB / 0.9598 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.707, allocations: 207.2 kB / 0.96 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.386, allocations: 8.156 kB / 0.96 GB, free: 2.457 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat does not exist to compare? outputFormat=mat