Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 215.4 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.218/3.218, allocations: 0.5002 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 61.23 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.392, allocations: 179 MB / 1.345 GB, free: 440 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.00195/0.394, allocations: 0.6555 MB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000158/0.3941, allocations: 16 kB / 1.346 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.3942, allocations: 0 / 1.346 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.521e-05/0.3943, allocations: 3.938 kB / 1.346 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.187e-05/0.3943, allocations: 7.984 kB / 1.346 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.535e-05/0.3944, allocations: 3.984 kB / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3945, allocations: 39.91 kB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3946, allocations: 19.98 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.982e-05/0.3947, allocations: 15.94 kB / 1.346 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.3947, allocations: 15.92 kB / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3947, allocations: 0 / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.3947, allocations: 8 kB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.3947, allocations: 11.94 kB / 1.346 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.3948, allocations: 15.88 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3949, allocations: 56.02 kB / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3949, allocations: 0 / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3949, allocations: 0 / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3949, allocations: 3.938 kB / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003649/0.3953, allocations: 282.2 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3953, allocations: 8.031 kB / 1.347 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.511e-05/0.3953, allocations: 4.188 kB / 1.347 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.3954, allocations: 38.75 kB / 1.347 GB, free: 15.19 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.3954, allocations: 8.891 kB / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3956, allocations: 118.5 kB / 1.347 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.3956, allocations: 384 / 1.347 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3956, allocations: 4.375 kB / 1.347 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3957, allocations: 86.33 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3957, allocations: 3.984 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3958, allocations: 7.922 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3958, allocations: 0 / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.3958, allocations: 51.97 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.3963, allocations: 462.2 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3965, allocations: 177.1 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.3965, allocations: 80.14 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3965, allocations: 75.28 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.3966, allocations: 113.8 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3966, allocations: 0 / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.502e-05/0.3967, allocations: 29.64 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.3967, allocations: 134.6 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3969, allocations: 175.2 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3969, allocations: 25.7 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.397, allocations: 100.1 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.397, allocations: 0 / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.397, allocations: 17.7 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3972, allocations: 314.8 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.3972, allocations: 11.98 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.3972, allocations: 8.109 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.3973, allocations: 16.78 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3973, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001278/0.3974, allocations: 61.64 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3974, allocations: 4 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3974, allocations: 0 / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3974, allocations: 7.938 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.471e-05/0.3975, allocations: 4 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3975, allocations: 0 / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.3975, allocations: 11.92 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3975, allocations: 0 / 1.349 GB, free: 12.96 MB / 1.045 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 (1): * Single equations (assignments): 1 * 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 0.0001194/0.3976, allocations: 197.2 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.3977, allocations: 112.9 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.3978, allocations: 116.5 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.94e-05/0.3979, allocations: 184.2 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.607e-05/0.3979, allocations: 184.2 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-05/0.398, allocations: 176.3 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.3983, allocations: 392.3 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.041e-05/0.3983, allocations: 108.9 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.3984, allocations: 101 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/0.3985, allocations: 180.2 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.052e-05/0.3986, allocations: 184.2 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-05/0.3987, allocations: 188.1 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.723e-05/0.3987, allocations: 180.3 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.3989, allocations: 311.7 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.399, allocations: 113.2 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.3991, allocations: 184.2 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.3992, allocations: 113 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.3992, allocations: 180.2 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.3993, allocations: 116.9 kB / 1.352 GB, free: 9.508 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3994, allocations: 125 kB / 1.352 GB, free: 9.387 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3994, allocations: 0 / 1.352 GB, free: 9.387 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002353/0.3996, allocations: 4 kB / 1.352 GB, free: 9.383 MB / 1.045 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 (0): * Single equations (assignments): 0 * 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.000499/0.4001, allocations: 0.8067 MB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/0.4002, allocations: 15.92 kB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4002, allocations: 0 / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.107e-06/0.4002, allocations: 4 kB / 1.353 GB, free: 8.531 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.4007, allocations: 468.9 kB / 1.353 GB, free: 8.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.4023, allocations: 1.596 MB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4027, allocations: 0.6922 MB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.4027, allocations: 4 kB / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.4028, allocations: 23.42 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.4028, allocations: 0 / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.4246, allocations: 1.76 MB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.69, allocations: 9.172 kB / 1.357 GB, free: 4.031 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 18.629955948970746]