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.001384/0.001384, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00157/0.00157, allocations: 215.2 kB / 22.24 MB, free: 5.262 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.836 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.324/3.324, allocations: 0.4892 GB / 0.7943 GB, free: 35.76 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.002964/0.002964, allocations: 64.78 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4338, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002768/0.4366, allocations: 0.723 MB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.4369, allocations: 60.23 kB / 1.326 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.437, allocations: 3.938 kB / 1.326 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.4371, allocations: 23.84 kB / 1.326 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.597e-05/0.4372, allocations: 11.92 kB / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.4374, allocations: 27.91 kB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.4376, allocations: 127.6 kB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.4379, allocations: 85.8 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.438, allocations: 67.77 kB / 1.326 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.4381, allocations: 83.64 kB / 1.326 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.307e-05/0.4381, allocations: 12 kB / 1.326 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.664e-05/0.4382, allocations: 12 kB / 1.326 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.4383, allocations: 51.84 kB / 1.326 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.4384, allocations: 71.55 kB / 1.326 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.4387, allocations: 243.2 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4387, allocations: 0 / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4387, allocations: 0 / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.4387, allocations: 4 kB / 1.327 GB, free: 0.7891 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006057/0.4393, allocations: 433.6 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4393, allocations: 12.03 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.08e-05/0.4394, allocations: 58.72 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.4395, allocations: 32.73 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.4399, allocations: 202.1 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4399, allocations: 16.75 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.4399, allocations: 24.36 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.4404, allocations: 336.9 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4405, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.4405, allocations: 8 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.4405, allocations: 15.98 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.4409, allocations: 267.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.4424, allocations: 1.034 MB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4425, allocations: 169.1 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.4425, allocations: 84.08 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.4426, allocations: 75.28 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.4426, allocations: 110 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4426, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.000119/0.4427, allocations: 53.55 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.4428, allocations: 126.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.4434, allocations: 0.5081 MB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.4435, allocations: 25.7 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.4436, allocations: 179.8 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-06/0.4436, allocations: 4 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.4437, allocations: 29.7 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4438, allocations: 338.8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.4439, allocations: 47.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.444, allocations: 98.77 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.4442, allocations: 122.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4442, allocations: 3.938 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003518/0.4445, allocations: 193.5 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4446, allocations: 11.97 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4446, allocations: 4 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4446, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4447, allocations: 23.92 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4447, allocations: 4 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.4448, allocations: 27.78 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.4449, allocations: 11.98 kB / 1.331 GB, free: 11.88 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.0002084/0.4451, allocations: 245.6 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4452, allocations: 140.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.4453, allocations: 130.8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.88e-05/0.4454, allocations: 188.2 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.594e-05/0.4455, allocations: 176.3 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-05/0.4455, allocations: 180.2 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.4459, allocations: 460.2 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-05/0.446, allocations: 101 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.446, allocations: 104.9 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.334e-05/0.4461, allocations: 184.2 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/0.4462, allocations: 176.3 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001032/0.4463, allocations: 188.2 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.28e-05/0.4464, allocations: 180.3 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.4466, allocations: 319.6 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.4467, allocations: 152.8 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.4469, allocations: 184.5 kB / 1.334 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.447, allocations: 109 kB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.4471, allocations: 192.2 kB / 1.334 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.4471, allocations: 104.9 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004195/0.4476, allocations: 363 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4476, allocations: 0 / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002908/0.4479, allocations: 24 kB / 1.335 GB, free: 7.859 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.0005768/0.4484, allocations: 0.8358 MB / 1.336 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.4486, allocations: 75.89 kB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4486, allocations: 0 / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.4486, allocations: 0 / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.4493, allocations: 485 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.4532, allocations: 3.3 MB / 1.339 GB, free: 3.027 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.4534, allocations: 168.2 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.4535, allocations: 49.61 kB / 1.34 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.4536, allocations: 63.41 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/0.4536, allocations: 0 / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.4872, allocations: 5.247 MB / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.93, allocations: 7.875 kB / 1.345 GB, free: 13.63 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.94249934423715]