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.001298/0.001298, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00146/0.00146, allocations: 218 kB / 23.04 MB, free: 5.074 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 33.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_12_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.001957/0.001957, allocations: 66.73 kB / 1.155 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3725, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002641/0.3752, allocations: 0.6702 MB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002113/0.3754, allocations: 7.984 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.3754, allocations: 3.938 kB / 1.327 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.3755, allocations: 8 kB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.3756, allocations: 0 / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.3757, allocations: 3.984 kB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3758, allocations: 39.91 kB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3759, allocations: 16 kB / 1.327 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.3759, allocations: 23.91 kB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.376, allocations: 11.94 kB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.376, allocations: 8 kB / 1.327 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.376, allocations: 0 / 1.327 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.376, allocations: 15.92 kB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.3761, allocations: 15.88 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3762, allocations: 59.95 kB / 1.328 GB, free: 1.039 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3762, allocations: 0 / 1.328 GB, free: 1.039 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3762, allocations: 0 / 1.328 GB, free: 1.039 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3762, allocations: 0 / 1.328 GB, free: 1.039 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.0003694/0.3766, allocations: 274.2 kB / 1.328 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3766, allocations: 8.031 kB / 1.328 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.446e-05/0.3766, allocations: 8.188 kB / 1.328 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.3767, allocations: 42.67 kB / 1.328 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3767, allocations: 4.938 kB / 1.328 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3769, allocations: 118.5 kB / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3769, allocations: 384 / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.3769, allocations: 12.3 kB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3771, allocations: 86.31 kB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3771, allocations: 0 / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3771, allocations: 4 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3771, allocations: 0 / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.3772, allocations: 51.97 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.3777, allocations: 458.2 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3779, allocations: 173.1 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.3779, allocations: 80.14 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.378, allocations: 79.28 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.159e-05/0.378, allocations: 109.8 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.378, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.278e-05/0.3781, allocations: 33.59 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.3782, allocations: 134.6 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3784, allocations: 167.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3784, allocations: 25.7 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.3785, allocations: 104.1 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.3785, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.3785, allocations: 13.72 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3787, allocations: 322.8 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.3787, allocations: 4.109 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.3787, allocations: 15.92 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.3788, allocations: 8.859 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3788, allocations: 8 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001382/0.3789, allocations: 57.62 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3789, allocations: 4 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3789, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3789, allocations: 3.938 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.379, allocations: 4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.379, allocations: 0 / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.379, allocations: 7.938 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.379, allocations: 0 / 1.33 GB, free: 14.46 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.0001563/0.3792, allocations: 201.7 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/0.3793, allocations: 112.9 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.142e-05/0.3794, allocations: 112.8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/0.3795, allocations: 184.2 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.018e-05/0.3796, allocations: 180.2 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-05/0.3796, allocations: 176.3 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.3799, allocations: 408.1 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-05/0.38, allocations: 101 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.3801, allocations: 105 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.712e-05/0.3801, allocations: 180.2 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.61e-05/0.3802, allocations: 176.3 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-05/0.3803, allocations: 196.1 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001081/0.3805, allocations: 180.3 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3807, allocations: 311.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.3808, allocations: 109 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.3809, allocations: 184.2 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.381, allocations: 109.2 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3811, allocations: 180.3 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.3812, allocations: 104.9 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000138/0.3813, allocations: 133 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3813, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002847/0.3816, allocations: 4 kB / 1.333 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.0006337/0.3822, allocations: 0.8127 MB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.824e-05/0.3823, allocations: 19.92 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3823, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.3823, allocations: 3.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.3829, allocations: 467.7 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3848, allocations: 1.597 MB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.3852, allocations: 0.6924 MB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.3852, allocations: 4 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.3853, allocations: 19.44 kB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/0.3853, allocations: 0 / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.4156, allocations: 1.769 MB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 5.781 kB / 1.338 GB, free: 5.52 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.649514787946828]