Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001779/0.00178, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.046/2.046, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5344, allocations: 140.4 MB / 0.9491 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002231/0.5367, allocations: 0.9425 MB / 0.95 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.5377, allocations: 0.8689 MB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.5377, allocations: 11.06 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.5379, allocations: 11.92 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.538, allocations: 25.06 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.5382, allocations: 34 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.5383, allocations: 127.3 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.5385, allocations: 63 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.129e-05/0.5386, allocations: 55.02 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.5388, allocations: 83.16 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.5388, allocations: 8.25 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.592e-05/0.5388, allocations: 8.25 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.5389, allocations: 40.22 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.539, allocations: 59.97 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.5392, allocations: 161.4 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5392, allocations: 0 / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5392, allocations: 0 / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5392, allocations: 4 kB / 0.9515 GB, free: 7.32 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008609/0.5401, allocations: 0.4976 MB / 0.952 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.5401, allocations: 17.3 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.5402, allocations: 37.59 kB / 0.952 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.5402, allocations: 16.97 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.5403, allocations: 222.8 kB / 0.9523 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.5403, allocations: 11.09 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.5404, allocations: 6.156 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.5408, allocations: 186.5 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5409, allocations: 3.938 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.5409, allocations: 5.656 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5409, allocations: 2.375 kB / 0.9525 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.5416, allocations: 219.5 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009436/0.5425, allocations: 0.5091 MB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.543, allocations: 151.6 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.5433, allocations: 125.4 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.5434, allocations: 0 / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.5434, allocations: 36 kB / 0.9535 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.5434, allocations: 0 / 0.9535 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001094/0.5445, allocations: 362.3 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.5445, allocations: 60.53 kB / 0.9539 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.5447, allocations: 174.8 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.5447, allocations: 25.7 kB / 0.9541 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.5447, allocations: 127.5 kB / 0.9542 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.5448, allocations: 31.66 kB / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.5448, allocations: 23.64 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.5449, allocations: 323.1 kB / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.5452, allocations: 99.45 kB / 0.9546 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.5455, allocations: 108 kB / 0.9547 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/0.5461, allocations: 217.1 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5461, allocations: 0 / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006718/0.5468, allocations: 265.4 kB / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5468, allocations: 3.469 kB / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5468, allocations: 96 / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5468, allocations: 3.938 kB / 0.9552 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.5471, allocations: 46.03 kB / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5471, allocations: 3.938 kB / 0.9553 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.5473, allocations: 41.7 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5473, allocations: 3.844 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 6.906e-05/0.5474, allocations: 128.2 kB / 0.9554 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.5474, allocations: 11.56 kB / 0.9554 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.5475, allocations: 17.34 kB / 0.9555 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5475, allocations: 5.984 kB / 0.9555 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5475, allocations: 3.938 kB / 0.9555 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5475, allocations: 0 / 0.9555 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.5477, allocations: 261.8 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5477, allocations: 3.938 kB / 0.9557 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.5479, allocations: 43.69 kB / 0.9558 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.5479, allocations: 1.062 kB / 0.9558 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5479, allocations: 1.219 kB / 0.9558 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5479, allocations: 0 / 0.9558 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5479, allocations: 3.938 kB / 0.9558 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.5486, allocations: 354.8 kB / 0.9561 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.5487, allocations: 96.89 kB / 0.9562 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.5487, allocations: 0 / 0.9562 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.5489, allocations: 34.69 kB / 0.9562 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.549, allocations: 20.03 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.549, allocations: 1.375 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.846e-05/0.549, allocations: 142.4 kB / 0.9564 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5491, allocations: 0 / 0.9564 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002311/0.5493, allocations: 29.91 kB / 0.9564 GB, free: 3.469 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0008733/0.5502, allocations: 0.8894 MB / 0.9573 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000676/0.5509, allocations: 223.4 kB / 0.9575 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5509, allocations: 0 / 0.9575 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.5512, allocations: 120.2 kB / 0.9576 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.5515, allocations: 28.33 kB / 0.9576 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.5543, allocations: 2.168 MB / 0.9598 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.5544, allocations: 0.7246 MB / 0.9605 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.953e-05/0.5545, allocations: 26.84 kB / 0.9605 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.5546, allocations: 39.27 kB / 0.9605 GB, free: 52 kB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.5546, allocations: 0 / 0.9605 GB, free: 52 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5075/1.062, allocations: 3.147 MB / 0.9636 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/1.062, allocations: 207.6 kB / 0.9638 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.375, allocations: 0 / 0.9638 GB, free: 14.27 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches