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.001359/0.001359, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001412/0.001412, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.079/3.079, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_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.002162/0.002162, allocations: 67.91 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.15, allocations: 176.1 MB / 1.322 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001761/1.151, allocations: 0.7593 MB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002534/1.152, allocations: 50.78 kB / 1.322 GB, free: 24.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/1.152, allocations: 6.281 kB / 1.322 GB, free: 24.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/1.152, allocations: 21.39 kB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/1.152, allocations: 9.922 kB / 1.322 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/1.152, allocations: 26.77 kB / 1.322 GB, free: 24.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/1.152, allocations: 118.1 kB / 1.322 GB, free: 24.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/1.153, allocations: 138.7 kB / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/1.153, allocations: 68.83 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/1.153, allocations: 73.16 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/1.153, allocations: 11.03 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.963e-05/1.153, allocations: 10.84 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/1.153, allocations: 60.34 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/1.153, allocations: 87.64 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/1.153, allocations: 236 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.153, allocations: 0 / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/1.153, allocations: 3.375 kB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.153, allocations: 4 kB / 1.323 GB, free: 23.86 MB / 1.061 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.0005769/1.154, allocations: 0.492 MB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.154, allocations: 14.89 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.8e-05/1.154, allocations: 5.812 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/1.154, allocations: 53.88 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/1.154, allocations: 37.52 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/1.154, allocations: 259.3 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/1.154, allocations: 16.38 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/1.154, allocations: 18.81 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/1.155, allocations: 348.3 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.155, allocations: 0 / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/1.155, allocations: 10.88 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/1.155, allocations: 11.38 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/1.155, allocations: 273 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/1.156, allocations: 1.091 MB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/1.156, allocations: 167.9 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/1.156, allocations: 87.59 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/1.156, allocations: 75.47 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/1.156, allocations: 117.7 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.156, allocations: 0 / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.02e-05/1.156, allocations: 49.66 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.156, allocations: 130.7 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/1.157, allocations: 0.4956 MB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/1.157, allocations: 29.64 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/1.157, allocations: 175.7 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-06/1.157, allocations: 0.8125 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/1.157, allocations: 33.03 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/1.157, allocations: 339.8 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/1.157, allocations: 49.67 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/1.157, allocations: 98.84 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/1.157, allocations: 122.1 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.157, allocations: 1.25 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003523/1.158, allocations: 189.5 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.158, allocations: 6.375 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.158, allocations: 5.234 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.158, allocations: 2.469 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/1.158, allocations: 27.28 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.158, allocations: 6.969 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/1.158, allocations: 34.17 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/1.158, allocations: 11.41 kB / 1.328 GB, free: 20.47 MB / 1.061 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.0001577/1.158, allocations: 246.4 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/1.158, allocations: 134.3 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/1.158, allocations: 132.3 kB / 1.328 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/1.158, allocations: 180.3 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/1.158, allocations: 181.1 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.458e-05/1.158, allocations: 184.5 kB / 1.329 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/1.159, allocations: 492 kB / 1.329 GB, free: 19.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/1.159, allocations: 104.5 kB / 1.329 GB, free: 18.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/1.159, allocations: 104.9 kB / 1.33 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.13e-05/1.159, allocations: 189 kB / 1.33 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/1.159, allocations: 176.3 kB / 1.33 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.443e-05/1.159, allocations: 189.5 kB / 1.33 GB, free: 18.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.496e-05/1.159, allocations: 181.4 kB / 1.33 GB, free: 18.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/1.159, allocations: 331.8 kB / 1.331 GB, free: 17.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/1.159, allocations: 219.4 kB / 1.331 GB, free: 17.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/1.159, allocations: 185 kB / 1.331 GB, free: 17.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/1.159, allocations: 107.8 kB / 1.331 GB, free: 17.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/1.159, allocations: 178.3 kB / 1.331 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.159, allocations: 105.2 kB / 1.331 GB, free: 16.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004272/1.16, allocations: 368.3 kB / 1.332 GB, free: 16.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.16, allocations: 0 / 1.332 GB, free: 16.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002884/1.16, allocations: 24.75 kB / 1.332 GB, free: 16.77 MB / 1.061 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.0003409/1.16, allocations: 0.8296 MB / 1.333 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001822/1.161, allocations: 85.84 kB / 1.333 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.161, allocations: 0 / 1.333 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/1.161, allocations: 0.8438 kB / 1.333 GB, free: 15.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/1.161, allocations: 477 kB / 1.333 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/1.165, allocations: 3.306 MB / 1.336 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/1.165, allocations: 0.7838 MB / 1.337 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001247/1.165, allocations: 49.17 kB / 1.337 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.653e-05/1.165, allocations: 62.66 kB / 1.337 GB, free: 12.8 MB / 1.061 GB Notification: Performance of SimCode: time 9.02e-07/1.165, allocations: 0 / 1.337 GB, free: 12.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/1.191, allocations: 4.672 MB / 1.342 GB, free: 12.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/9.844, allocations: 10.64 kB / 1.342 GB, free: 12.2 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.779538188013248]