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.001372/0.001372, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001542/0.001542, allocations: 217.4 kB / 22.25 MB, free: 5.105 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.797 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.288/3.288, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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.002017/0.002017, allocations: 75.34 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3909, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.0022/0.3931, allocations: 0.6644 MB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002186/0.3933, allocations: 8 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.3934, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.3935, allocations: 11.92 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.3936, allocations: 4 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.3937, allocations: 4 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3938, allocations: 39.91 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3939, allocations: 23.97 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.394, allocations: 11.94 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.394, allocations: 15.92 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.394, allocations: 7.938 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.3941, allocations: 4 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.3941, allocations: 11.94 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.3941, allocations: 11.94 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3943, allocations: 48.02 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3943, allocations: 4 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3943, allocations: 3.938 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3943, allocations: 0 / 1.327 GB, free: 0.6211 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.0004227/0.3947, allocations: 282.2 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3948, allocations: 12.03 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.3948, allocations: 38.69 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.3948, allocations: 4.938 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.395, allocations: 122.5 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.395, allocations: 4.375 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3951, allocations: 4.375 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3952, allocations: 82.22 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3953, allocations: 3.938 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3953, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3953, allocations: 7.938 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3954, allocations: 48.05 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.3959, allocations: 446.7 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3961, allocations: 177.2 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.3961, allocations: 84.14 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.3961, allocations: 75.28 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.655e-05/0.3962, allocations: 109.8 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3962, allocations: 0 / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.489e-05/0.3963, allocations: 41.58 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.3964, allocations: 134.7 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3966, allocations: 171.1 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3966, allocations: 25.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.3967, allocations: 104 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.3967, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.3967, allocations: 13.72 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3969, allocations: 318.8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.3969, allocations: 7.984 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.3969, allocations: 8 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.397, allocations: 16.91 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.397, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001321/0.3971, allocations: 61.58 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3971, allocations: 4 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3971, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3972, allocations: 3.984 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.3972, allocations: 11.88 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3972, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.3973, allocations: 7.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3973, allocations: 4 kB / 1.329 GB, free: 14.04 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.0001422/0.3974, allocations: 201 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.3975, allocations: 108.9 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.3976, allocations: 116.7 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.533e-05/0.3977, allocations: 184.2 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.639e-05/0.3977, allocations: 184.2 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.354e-05/0.3978, allocations: 176.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.3981, allocations: 384.3 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/0.3982, allocations: 112.9 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.3983, allocations: 101 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.3984, allocations: 180.2 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.3985, allocations: 184.3 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001034/0.3986, allocations: 180.2 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.695e-05/0.3987, allocations: 180.2 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.3989, allocations: 319.7 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.3989, allocations: 109 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.399, allocations: 188.2 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3991, allocations: 105.2 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.3992, allocations: 180.3 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.3993, allocations: 108.9 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001181/0.3994, allocations: 137.2 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3994, allocations: 4 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000256/0.3997, allocations: 4 kB / 1.332 GB, free: 10.46 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.0005424/0.4002, allocations: 0.8127 MB / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.4003, allocations: 7.938 kB / 1.333 GB, free: 9.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4003, allocations: 0 / 1.333 GB, free: 9.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.4003, allocations: 4 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.4008, allocations: 467.6 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4023, allocations: 1.593 MB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.354e-05/0.4024, allocations: 75.39 kB / 1.335 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.4025, allocations: 7.984 kB / 1.335 GB, free: 7.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.4025, allocations: 15.44 kB / 1.335 GB, free: 7.359 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.4025, allocations: 112 / 1.335 GB, free: 7.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.432, allocations: 2.183 MB / 1.337 GB, free: 5.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.57, allocations: 4.484 kB / 1.337 GB, free: 5.301 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.492999039008282]