Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001678/0.001678, 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.002436/0.002436, allocations: 220.6 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.257/3.257, allocations: 0.5003 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.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.001998/0.001998, allocations: 66.81 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4449, allocations: 179 MB / 1.345 GB, free: 404 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002627/0.4475, allocations: 0.7527 MB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000314/0.4478, allocations: 56.23 kB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.4479, allocations: 3.938 kB / 1.346 GB, free: 15.58 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.448, allocations: 19.86 kB / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.4481, allocations: 19.91 kB / 1.346 GB, free: 15.54 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.4483, allocations: 26.09 kB / 1.346 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.4485, allocations: 119.7 kB / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002299/0.4487, allocations: 92.55 kB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.761e-05/0.4488, allocations: 71.78 kB / 1.346 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.4489, allocations: 75.64 kB / 1.347 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.4489, allocations: 16 kB / 1.347 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.449, allocations: 16 kB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.449, allocations: 47.86 kB / 1.347 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.4492, allocations: 83.42 kB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.4494, allocations: 239.2 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4495, allocations: 3.938 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4495, allocations: 0 / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.4495, allocations: 0 / 1.347 GB, free: 14.76 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005983/0.4501, allocations: 441.6 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4501, allocations: 16.03 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.4501, allocations: 4.562 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.4502, allocations: 54.73 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.4502, allocations: 28.8 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.4505, allocations: 206.1 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.4506, allocations: 12.69 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.4506, allocations: 16.38 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.4511, allocations: 344.5 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4511, allocations: 3.938 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.4511, allocations: 12 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.4512, allocations: 15.98 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.4515, allocations: 263.8 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.4529, allocations: 1.065 MB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.453, allocations: 173.1 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.4531, allocations: 80.14 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.4531, allocations: 75.47 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.709e-05/0.4532, allocations: 113.7 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.4532, allocations: 8 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001117/0.4533, allocations: 49.56 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/0.4534, allocations: 126.7 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.454, allocations: 0.5004 MB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.454, allocations: 25.7 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4541, allocations: 171.9 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.4541, allocations: 0 / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.4542, allocations: 33.7 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4544, allocations: 342.8 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.4544, allocations: 51.95 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4545, allocations: 94.77 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.4547, allocations: 118.8 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4547, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003306/0.455, allocations: 197.2 kB / 1.351 GB, free: 9.906 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.4551, allocations: 4 kB / 1.351 GB, free: 9.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.4551, allocations: 4 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4551, allocations: 0 / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4552, allocations: 23.92 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4552, allocations: 4 kB / 1.351 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.4553, allocations: 39.72 kB / 1.352 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4553, allocations: 8.25 kB / 1.352 GB, free: 9.824 MB / 1.045 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.0001988/0.4555, allocations: 249.1 kB / 1.352 GB, free: 9.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4557, allocations: 132.7 kB / 1.352 GB, free: 9.434 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.636e-05/0.4557, allocations: 130.8 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.554e-05/0.4558, allocations: 184.2 kB / 1.352 GB, free: 9.113 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.878e-05/0.4559, allocations: 188.1 kB / 1.352 GB, free: 8.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-05/0.456, allocations: 184.3 kB / 1.353 GB, free: 8.734 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.4563, allocations: 468.2 kB / 1.353 GB, free: 8.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.414e-05/0.4564, allocations: 101 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.4564, allocations: 108.9 kB / 1.353 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.836e-05/0.4565, allocations: 180.2 kB / 1.353 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/0.4566, allocations: 184.2 kB / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.65e-05/0.4567, allocations: 184.2 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.99e-05/0.4568, allocations: 180.3 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.457, allocations: 331.8 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.4571, allocations: 144.8 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.4572, allocations: 192.2 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4573, allocations: 109 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.4574, allocations: 180.2 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.4575, allocations: 104.9 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004522/0.458, allocations: 367 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.458, allocations: 0 / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002867/0.4582, allocations: 24 kB / 1.355 GB, free: 5.789 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.0006616/0.4589, allocations: 0.8281 MB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.4591, allocations: 76.25 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.4591, allocations: 8.062 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.4591, allocations: 4 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.4599, allocations: 473.1 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.4638, allocations: 3.298 MB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.4643, allocations: 0.7903 MB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.4644, allocations: 49.61 kB / 1.361 GB, free: 108 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.4645, allocations: 59.42 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/0.4645, allocations: 0 / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4912, allocations: 4.788 MB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.86, allocations: 12.73 kB / 1.365 GB, free: 11.4 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.998072133981623]