Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.007/3.007, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 75.83 kB / 1.104 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183/1.185, allocations: 168.7 MB / 1.269 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002318/1.187, allocations: 0.8978 MB / 1.27 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001178/1.188, allocations: 0.872 MB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/1.188, allocations: 1.562 kB / 1.271 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/1.189, allocations: 20.98 kB / 1.271 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/1.189, allocations: 28.11 kB / 1.271 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/1.189, allocations: 45.38 kB / 1.271 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/1.189, allocations: 136 kB / 1.271 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/1.189, allocations: 45.03 kB / 1.271 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/1.189, allocations: 53.69 kB / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/1.19, allocations: 86.33 kB / 1.271 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/1.19, allocations: 13.19 kB / 1.271 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.079e-05/1.19, allocations: 12.47 kB / 1.271 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/1.19, allocations: 49.61 kB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/1.19, allocations: 67.8 kB / 1.271 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/1.19, allocations: 176.6 kB / 1.271 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.19, allocations: 1.062 kB / 1.271 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/1.19, allocations: 0 / 1.271 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.603e-06/1.19, allocations: 0 / 1.271 GB, free: 6.152 MB / 0.9981 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.0009538/1.191, allocations: 0.5093 MB / 1.272 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.191, allocations: 10.22 kB / 1.272 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/1.191, allocations: 40.7 kB / 1.272 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/1.191, allocations: 20.2 kB / 1.272 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/1.191, allocations: 221.5 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/1.191, allocations: 4.516 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/1.191, allocations: 9.688 kB / 1.272 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/1.192, allocations: 183.7 kB / 1.272 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.192, allocations: 3.938 kB / 1.272 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/1.192, allocations: 0.75 kB / 1.272 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.192, allocations: 2.125 kB / 1.272 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/1.193, allocations: 221 kB / 1.272 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/1.194, allocations: 0.5102 MB / 1.273 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/1.194, allocations: 150.9 kB / 1.273 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/1.195, allocations: 114.8 kB / 1.273 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/1.195, allocations: 0.9375 kB / 1.273 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.195, allocations: 32.72 kB / 1.273 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/1.195, allocations: 4 kB / 1.273 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001262/1.196, allocations: 361.9 kB / 1.274 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.196, allocations: 56.72 kB / 1.274 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/1.196, allocations: 178.7 kB / 1.274 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/1.196, allocations: 25.7 kB / 1.274 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/1.196, allocations: 128.7 kB / 1.274 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/1.196, allocations: 30.61 kB / 1.274 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/1.196, allocations: 29.84 kB / 1.274 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/1.196, allocations: 323.7 kB / 1.274 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/1.197, allocations: 107.9 kB / 1.274 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/1.197, allocations: 107 kB / 1.274 GB, free: 4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/1.198, allocations: 214.2 kB / 1.275 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.198, allocations: 0 / 1.275 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007761/1.199, allocations: 262.3 kB / 1.275 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.199, allocations: 5.094 kB / 1.275 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.199, allocations: 4.891 kB / 1.275 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.199, allocations: 0.625 kB / 1.275 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/1.199, allocations: 42.88 kB / 1.275 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.199, allocations: 3.938 kB / 1.275 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/1.199, allocations: 36.64 kB / 1.275 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/1.199, allocations: 5.719 kB / 1.275 GB, free: 3.855 MB / 0.9981 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 9.186e-05/1.199, allocations: 129.7 kB / 1.275 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/1.199, allocations: 17.64 kB / 1.275 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/1.199, allocations: 17.56 kB / 1.275 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/1.199, allocations: 1.625 kB / 1.275 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.199, allocations: 4.625 kB / 1.275 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.199, allocations: 0 / 1.275 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/1.2, allocations: 258.3 kB / 1.275 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.2, allocations: 2.031 kB / 1.275 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/1.2, allocations: 45.45 kB / 1.275 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.2, allocations: 0.6875 kB / 1.275 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/1.2, allocations: 4.391 kB / 1.275 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.2, allocations: 0 / 1.275 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.2, allocations: 5.219 kB / 1.275 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/1.201, allocations: 356.4 kB / 1.276 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/1.201, allocations: 101 kB / 1.276 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/1.201, allocations: 1.656 kB / 1.276 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.201, allocations: 30.05 kB / 1.276 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/1.201, allocations: 18.05 kB / 1.276 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/1.201, allocations: 2 kB / 1.276 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.076e-05/1.201, allocations: 140.9 kB / 1.276 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.201, allocations: 0 / 1.276 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002551/1.201, allocations: 25.94 kB / 1.276 GB, free: 3.059 MB / 0.9981 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.001037/1.202, allocations: 0.8976 MB / 1.277 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008127/1.203, allocations: 219.2 kB / 1.277 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.203, allocations: 0 / 1.277 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/1.204, allocations: 109.1 kB / 1.277 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/1.204, allocations: 37.59 kB / 1.277 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/1.208, allocations: 2.147 MB / 1.279 GB, free: 16.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/1.208, allocations: 0.7236 MB / 1.28 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001259/1.208, allocations: 25.66 kB / 1.28 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/1.208, allocations: 40.59 kB / 1.28 GB, free: 16.08 MB / 1.014 GB Notification: Performance of SimCode: time 8.81e-07/1.208, allocations: 0 / 1.28 GB, free: 16.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/1.236, allocations: 3.675 MB / 1.284 GB, free: 15.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/9.472, allocations: 5 kB / 1.284 GB, free: 15.56 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.061334698926657]