Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001441/0.001441, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001632/0.001632, allocations: 223.2 kB / 22.26 MB, free: 5.215 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 0.49 GB / 0.7951 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",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.002074/0.002074, allocations: 70.89 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002055/0.3984, allocations: 0.6571 MB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.3985, allocations: 15.92 kB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.3986, allocations: 0 / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.3987, allocations: 7.922 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.3987, allocations: 0 / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.72e-05/0.3988, allocations: 4 kB / 1.327 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3989, allocations: 43.91 kB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3991, allocations: 15.98 kB / 1.327 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.3991, allocations: 19.88 kB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.3991, allocations: 15.92 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.3991, allocations: 8 kB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.3992, allocations: 4 kB / 1.327 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.3992, allocations: 7.938 kB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.3992, allocations: 23.86 kB / 1.327 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3993, allocations: 48.03 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3993, allocations: 0 / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3993, allocations: 0 / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3993, allocations: 0 / 1.327 GB, free: 1.055 MB / 1.014 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.0003742/0.3997, allocations: 278.2 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3998, allocations: 8.031 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.3998, allocations: 42.75 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.3998, allocations: 4.938 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.4, allocations: 122.4 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.4, allocations: 8.312 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.4, allocations: 4.375 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.4002, allocations: 78.22 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.4002, allocations: 7.938 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4002, allocations: 0 / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4003, allocations: 0 / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.4003, allocations: 47.97 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.401, allocations: 466.6 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4011, allocations: 173.1 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.4011, allocations: 80.14 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.4012, allocations: 75.28 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/0.4012, allocations: 113.8 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4012, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.184e-05/0.4013, allocations: 33.66 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.4014, allocations: 134.6 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.4016, allocations: 171.8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4016, allocations: 25.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.4017, allocations: 96.09 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-06/0.4017, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.4018, allocations: 21.64 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.402, allocations: 315 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.402, allocations: 11.92 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.402, allocations: 8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.402, allocations: 16.84 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.402, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001608/0.4022, allocations: 57.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4022, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4022, allocations: 3.938 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4022, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.4023, allocations: 11.92 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4023, allocations: 3.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.4023, allocations: 7.938 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.4024, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 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.0001395/0.4025, allocations: 197.6 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.4026, allocations: 109 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.4026, allocations: 108.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.925e-05/0.4027, allocations: 188.1 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/0.4028, allocations: 184.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.71e-05/0.4029, allocations: 180.2 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.4032, allocations: 392.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-05/0.4033, allocations: 105 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.4034, allocations: 104.9 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-05/0.4034, allocations: 176.3 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.4035, allocations: 184.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.694e-05/0.4036, allocations: 184.2 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.665e-05/0.4037, allocations: 184.2 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.404, allocations: 311.8 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.404, allocations: 116.9 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4042, allocations: 180.3 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4043, allocations: 113.2 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4044, allocations: 184.2 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.4044, allocations: 105 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001401/0.4046, allocations: 133 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4046, allocations: 0 / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002483/0.4048, allocations: 4 kB / 1.332 GB, free: 10.89 MB / 1.029 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.0005773/0.4054, allocations: 0.8126 MB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.4055, allocations: 11.98 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4055, allocations: 3.938 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.4055, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.4061, allocations: 471.6 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.4077, allocations: 1.6 MB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.4081, allocations: 0.6885 MB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.4082, allocations: 4 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.4082, allocations: 19.42 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4082, allocations: 3.938 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.4384, allocations: 1.731 MB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 4.672 kB / 1.338 GB, free: 5.551 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.8058877941221]