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.001435/0.001435, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.00145/0.00145, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.301 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 2.495/2.495, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] 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.001829/0.001829, allocations: 67.89 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8016, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001861/0.8035, allocations: 0.9026 MB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.8043, allocations: 0.878 MB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.8044, allocations: 1.688 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.8045, allocations: 17.16 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.8046, allocations: 27.86 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.8047, allocations: 37.47 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.8049, allocations: 140.1 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.805, allocations: 39.47 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.8051, allocations: 57.34 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.8052, allocations: 86.38 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.8053, allocations: 12.59 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.722e-05/0.8053, allocations: 13.41 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.8053, allocations: 44.73 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.8054, allocations: 70 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.8056, allocations: 177 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.8056, allocations: 0 / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8056, allocations: 4.75 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.8056, allocations: 0 / 1.274 GB, free: 6.105 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.0008089/0.8064, allocations: 0.5008 MB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.8064, allocations: 10 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.8065, allocations: 44.39 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.8065, allocations: 16.25 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.8067, allocations: 217.5 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.8067, allocations: 7.844 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.8067, allocations: 13.47 kB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.8072, allocations: 174.2 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.8072, allocations: 3.938 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.8072, allocations: 4.719 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.8072, allocations: 6.531 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.8079, allocations: 223.2 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.8088, allocations: 0.5077 MB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.8092, allocations: 142.7 kB / 1.276 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.8096, allocations: 122.7 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.8096, allocations: 5.312 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.8096, allocations: 32.28 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.8096, allocations: 0 / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.00116/0.8108, allocations: 362.7 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.8108, allocations: 56.34 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.8109, allocations: 186.9 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.8109, allocations: 25.7 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.811, allocations: 124.9 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.811, allocations: 31.05 kB / 1.277 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.811, allocations: 20.09 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.8111, allocations: 328.6 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.8114, allocations: 104.4 kB / 1.277 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.8118, allocations: 108 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.8124, allocations: 211.8 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8124, allocations: 0.875 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007235/0.8132, allocations: 261.6 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.8132, allocations: 6.469 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.8132, allocations: 0.9062 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8132, allocations: 2.281 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.8134, allocations: 46.42 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8135, allocations: 3.938 kB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.8136, allocations: 36.02 kB / 1.278 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.8136, allocations: 2.062 kB / 1.278 GB, free: 3.82 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 6.809e-05/0.8137, allocations: 126.7 kB / 1.278 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.8137, allocations: 14.16 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.8138, allocations: 31.84 kB / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8138, allocations: 1.656 kB / 1.278 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8138, allocations: 4.641 kB / 1.278 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.8138, allocations: 0.9375 kB / 1.278 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.814, allocations: 254.5 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.814, allocations: 0 / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.8143, allocations: 42.56 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8143, allocations: 0.9375 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.8143, allocations: 8.906 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.8143, allocations: 1.5 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8143, allocations: 7.875 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.8151, allocations: 355 kB / 1.278 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.8151, allocations: 93.27 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.8151, allocations: 1.375 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.8153, allocations: 34.25 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.8154, allocations: 21.12 kB / 1.279 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.8154, allocations: 6.609 kB / 1.279 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.15e-05/0.8155, allocations: 137.5 kB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8155, allocations: 0 / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002329/0.8157, allocations: 22.34 kB / 1.279 GB, free: 3.02 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.0009583/0.8167, allocations: 0.8874 MB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007816/0.8175, allocations: 225.2 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8175, allocations: 4.5 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.8178, allocations: 117.3 kB / 1.28 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.8181, allocations: 26.94 kB / 1.28 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.8211, allocations: 2.153 MB / 1.282 GB, free: 16.78 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.8214, allocations: 0.7314 MB / 1.283 GB, free: 16.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.811e-05/0.8214, allocations: 20.91 kB / 1.283 GB, free: 16.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.8215, allocations: 39.69 kB / 1.283 GB, free: 16.04 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.8215, allocations: 0 / 1.283 GB, free: 16.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.8459, allocations: 3.651 MB / 1.286 GB, free: 15.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/7.758, allocations: 10.3 kB / 1.286 GB, free: 15.53 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 13.115752670000802]