Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_latest_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.001047/0.001047, allocations: 92 kB / 15.06 MB, free: 1.098 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.001251/0.001251, allocations: 172.7 kB / 15.95 MB, free: 208 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.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.563/2.563, allocations: 409.4 MB / 0.684 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003745, allocations: 8 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7161, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0008037/0.7169, allocations: 325.5 kB / 0.9815 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002148/0.7172, allocations: 31.92 kB / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.7172, allocations: 0 / 0.9815 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.7172, allocations: 4 kB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.174e-05/0.7173, allocations: 0 / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.7175, allocations: 11.97 kB / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.674e-05/0.7175, allocations: 8 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.7176, allocations: 0 / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/0.7176, allocations: 4 kB / 0.9815 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.958e-05/0.7176, allocations: 7.938 kB / 0.9815 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.7177, allocations: 0 / 0.9815 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.7178, allocations: 15.98 kB / 0.9815 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.7178, allocations: 3.984 kB / 0.9815 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.7178, allocations: 25.7 kB / 0.9816 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.754e-05/0.7179, allocations: 15.98 kB / 0.9816 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7179, allocations: 3.938 kB / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7179, allocations: 0 / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7179, allocations: 8 kB / 0.9816 GB, free: 5.812 MB / 0.7325 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.0003237/0.7183, allocations: 349 kB / 0.9819 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.7183, allocations: 8.031 kB / 0.9819 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.7184, allocations: 34.56 kB / 0.982 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.7184, allocations: 0 / 0.982 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.7185, allocations: 173.2 kB / 0.9821 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.7185, allocations: 0 / 0.9821 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.7185, allocations: 4 kB / 0.9821 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.7187, allocations: 57.64 kB / 0.9822 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.7187, allocations: 4 kB / 0.9822 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.7187, allocations: 3.938 kB / 0.9822 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.7187, allocations: 7.984 kB / 0.9822 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.731e-05/0.7188, allocations: 23.98 kB / 0.9822 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.7191, allocations: 264.8 kB / 0.9825 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.7192, allocations: 22.52 kB / 0.9825 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.7192, allocations: 8.922 kB / 0.9825 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.7192, allocations: 4 kB / 0.9825 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.7192, allocations: 30.56 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.7192, allocations: 3.984 kB / 0.9825 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001667/0.7194, allocations: 71.33 kB / 0.9826 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.7195, allocations: 81.11 kB / 0.9827 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.7196, allocations: 113.8 kB / 0.9828 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.7196, allocations: 25.7 kB / 0.9828 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.7197, allocations: 111.9 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.7197, allocations: 3.938 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.7197, allocations: 0 / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7198, allocations: 318.8 kB / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.7198, allocations: 16.05 kB / 0.9833 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.7199, allocations: 62.86 kB / 0.9833 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.7199, allocations: 45.64 kB / 0.9834 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7199, allocations: 0 / 0.9834 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001376/0.7201, allocations: 115.2 kB / 0.9835 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.7201, allocations: 37.69 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7201, allocations: 0 / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7202, allocations: 4 kB / 0.9835 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.7203, allocations: 15.94 kB / 0.9835 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7203, allocations: 0 / 0.9835 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.7204, allocations: 11.91 kB / 0.9835 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.7204, allocations: 8 kB / 0.9835 GB, free: 3.523 MB / 0.7325 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 8.851e-05/0.7205, allocations: 147.7 kB / 0.9837 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.7205, allocations: 7.938 kB / 0.9837 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.7205, allocations: 11.47 kB / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.7205, allocations: 0 / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7205, allocations: 0 / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.7205, allocations: 0 / 0.9837 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.7207, allocations: 157.6 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7207, allocations: 3.938 kB / 0.9839 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-06/0.7207, allocations: 4 kB / 0.9839 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7207, allocations: 0 / 0.9839 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.7207, allocations: 4 kB / 0.9839 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7207, allocations: 0 / 0.9839 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7207, allocations: 3.984 kB / 0.9839 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.7209, allocations: 161.2 kB / 0.984 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.7209, allocations: 85.05 kB / 0.9841 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.7209, allocations: 4 kB / 0.9841 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.721, allocations: 0 / 0.9841 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.721, allocations: 8.031 kB / 0.9841 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.721, allocations: 4 kB / 0.9841 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.7211, allocations: 87.27 kB / 0.9842 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.463e-06/0.7211, allocations: 0 / 0.9842 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002433/0.7213, allocations: 15.94 kB / 0.9842 GB, free: 2.727 MB / 0.7325 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.0004382/0.7218, allocations: 0.7025 MB / 0.9849 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.7219, allocations: 83.33 kB / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7219, allocations: 0 / 0.985 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.722, allocations: 59.34 kB / 0.985 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.7222, allocations: 4 kB / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.7225, allocations: 141 kB / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.7228, allocations: 0.6863 MB / 0.9858 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.774e-05/0.7229, allocations: 8.172 kB / 0.9859 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.7229, allocations: 19.42 kB / 0.9859 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7229, allocations: 3.938 kB / 0.9859 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.7332, allocations: 1.236 MB / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.7334, allocations: 201.7 kB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.465, allocations: 0 / 0.9873 GB, free: 15.61 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat does not exist to compare? outputFormat=mat