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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005131/0.005131, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.001176/0.001176, allocations: 188 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.89 kB / 1.054 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8182/0.8195, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001648/0.8212, allocations: 0.589 MB / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002204/0.8215, allocations: 45.84 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.8215, allocations: 4 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.8215, allocations: 0 / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.8216, allocations: 3.984 kB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.8218, allocations: 8 kB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.763e-05/0.8219, allocations: 15.91 kB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.8219, allocations: 4 kB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.8219, allocations: 0 / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.822, allocations: 4 kB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.822, allocations: 0 / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.8221, allocations: 15.98 kB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.8221, allocations: 8 kB / 1.208 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.8221, allocations: 3.938 kB / 1.208 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.8223, allocations: 35.83 kB / 1.208 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8223, allocations: 0 / 1.208 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8223, allocations: 0 / 1.208 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.8223, allocations: 0 / 1.208 GB, free: 12.83 MB / 0.9356 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.0005157/0.8228, allocations: 349.3 kB / 1.208 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8229, allocations: 12.03 kB / 1.208 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.8229, allocations: 30.75 kB / 1.208 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.8229, allocations: 4.844 kB / 1.208 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.823, allocations: 166.6 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.823, allocations: 4.375 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.8231, allocations: 384 / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.8232, allocations: 62.23 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.944e-05/0.8233, allocations: 3.938 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.8233, allocations: 3.984 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.8233, allocations: 11.94 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.631e-05/0.8234, allocations: 27.92 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.8237, allocations: 260.9 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.8237, allocations: 18.58 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.8238, allocations: 8.859 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-06/0.8238, allocations: 0 / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.8238, allocations: 38.56 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.8238, allocations: 0 / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001638/0.824, allocations: 67.39 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.824, allocations: 85.08 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.8241, allocations: 117.8 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.8241, allocations: 29.7 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.8242, allocations: 99.91 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.8242, allocations: 15.84 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.8242, allocations: 21.72 kB / 1.209 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8244, allocations: 318.8 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.8244, allocations: 12 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.8245, allocations: 58.8 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.8246, allocations: 130.2 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8246, allocations: 0 / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001469/0.8247, allocations: 123.3 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.8248, allocations: 36.05 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8248, allocations: 0 / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8248, allocations: 4 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/0.8249, allocations: 19.92 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8249, allocations: 0 / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.825, allocations: 7.906 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.825, allocations: 11.94 kB / 1.21 GB, free: 10.39 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.86e-05/0.8251, allocations: 143.7 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.8251, allocations: 4 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.8251, allocations: 7.531 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.8251, allocations: 0 / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8252, allocations: 0 / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8252, allocations: 0 / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.8253, allocations: 157.6 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8253, allocations: 0 / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.8253, allocations: 0 / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.8253, allocations: 4 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.8253, allocations: 4 kB / 1.21 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8253, allocations: 7.938 kB / 1.21 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8254, allocations: 0 / 1.21 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.8255, allocations: 169.2 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.8257, allocations: 81.02 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.8257, allocations: 7.938 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.8257, allocations: 3.984 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.8258, allocations: 3.938 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.8258, allocations: 8.031 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.8258, allocations: 91.22 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8258, allocations: 0 / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002546/0.8261, allocations: 15.98 kB / 1.211 GB, free: 9.582 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006707/0.8268, allocations: 0.6985 MB / 1.211 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.8271, allocations: 87.36 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.8271, allocations: 0 / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.313e-05/0.8271, allocations: 59.41 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.8273, allocations: 4 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.8277, allocations: 146.5 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.8281, allocations: 0.6812 MB / 1.212 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.16e-05/0.8282, allocations: 15.98 kB / 1.212 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.8282, allocations: 7.438 kB / 1.212 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8282, allocations: 0 / 1.212 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.8479, allocations: 1.445 MB / 1.214 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.509, allocations: 18.05 kB / 1.214 GB, free: 6.453 MB / 0.9356 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/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) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches