Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001473/0.001473, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001867/0.001867, allocations: 217 kB / 22.25 MB, free: 5.082 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.023 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.304/3.304, allocations: 0.49 GB / 0.7951 GB, free: 33.48 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.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.002088/0.002088, allocations: 61.97 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3894, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00262/0.392, allocations: 0.7519 MB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.3923, allocations: 56.23 kB / 1.327 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.3924, allocations: 3.938 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.3926, allocations: 15.86 kB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.3926, allocations: 15.92 kB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.3928, allocations: 23.97 kB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.3931, allocations: 123.7 kB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.3933, allocations: 88.77 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3934, allocations: 67.8 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3935, allocations: 79.58 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.3936, allocations: 12 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-05/0.3936, allocations: 12 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.3937, allocations: 55.83 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3938, allocations: 83.42 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.3941, allocations: 251.2 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3941, allocations: 4 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3941, allocations: 0 / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3941, allocations: 0 / 1.328 GB, free: 280 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007286/0.3949, allocations: 425.7 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.3949, allocations: 16.02 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.793e-05/0.395, allocations: 50.73 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.3951, allocations: 32.75 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.3954, allocations: 198.1 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.3954, allocations: 20.69 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3955, allocations: 20.38 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.3961, allocations: 348.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3961, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.3961, allocations: 12 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.3962, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.3967, allocations: 269.5 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3981, allocations: 1.069 MB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3982, allocations: 165.1 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.3983, allocations: 80.14 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.3983, allocations: 79.28 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.398e-05/0.3984, allocations: 110 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3984, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001208/0.3985, allocations: 57.48 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.3986, allocations: 126.7 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.3992, allocations: 0.5004 MB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3992, allocations: 25.7 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.3994, allocations: 175.9 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.3994, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.3995, allocations: 33.66 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3997, allocations: 342.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.3998, allocations: 47.97 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.3999, allocations: 98.81 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.4001, allocations: 122.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4001, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000343/0.4005, allocations: 189.3 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4005, allocations: 15.88 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4005, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4005, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4006, allocations: 20.23 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4006, allocations: 11.94 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4007, allocations: 31.73 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.4008, allocations: 15.98 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0002487/0.401, allocations: 245.6 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.4011, allocations: 136.7 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.4013, allocations: 134.7 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.276e-05/0.4014, allocations: 180.3 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.051e-05/0.4015, allocations: 180.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.509e-05/0.4016, allocations: 184.2 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.402, allocations: 472.2 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-05/0.402, allocations: 101 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.4021, allocations: 101 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.4022, allocations: 192.1 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.83e-05/0.4023, allocations: 176.3 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.596e-05/0.4024, allocations: 184.2 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.652e-05/0.4024, allocations: 180.4 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.4027, allocations: 331.6 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.4028, allocations: 144.8 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.4029, allocations: 184.5 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4031, allocations: 105 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4032, allocations: 188.3 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.4032, allocations: 104.9 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004386/0.4037, allocations: 367 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4037, allocations: 0 / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003104/0.404, allocations: 24 kB / 1.336 GB, free: 7.316 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.0007098/0.4047, allocations: 0.8242 MB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.4049, allocations: 75.83 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.4049, allocations: 4 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-06/0.4049, allocations: 4 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/0.4057, allocations: 489.5 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.4103, allocations: 3.299 MB / 1.34 GB, free: 2.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.4108, allocations: 0.7749 MB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.411, allocations: 49.62 kB / 1.341 GB, free: 1.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.4111, allocations: 63.41 kB / 1.341 GB, free: 1.57 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/0.4111, allocations: 3.938 kB / 1.341 GB, free: 1.566 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.4465, allocations: 4.751 MB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.9, allocations: 11.62 kB / 1.346 GB, free: 12.95 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.8594421017915]