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.001185/0.001185, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001527/0.001527, allocations: 217.9 kB / 23.03 MB, free: 4.922 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.313/3.313, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.002011/0.002011, allocations: 60.28 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4145, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.003227/0.4177, allocations: 0.7308 MB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004075/0.4181, allocations: 52.23 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.4183, allocations: 3.938 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.4185, allocations: 19.86 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.4185, allocations: 19.91 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4188, allocations: 23.97 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.4191, allocations: 123.6 kB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.4193, allocations: 88.83 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4194, allocations: 63.8 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.4196, allocations: 75.64 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.4196, allocations: 12 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.589e-05/0.4197, allocations: 12 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.4198, allocations: 55.84 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.4199, allocations: 67.55 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.4203, allocations: 251.2 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4203, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4203, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.4203, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 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.0007055/0.421, allocations: 437.6 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4211, allocations: 12.03 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.962e-05/0.4211, allocations: 4.562 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.4211, allocations: 54.73 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.4212, allocations: 36.75 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.4215, allocations: 202.2 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4215, allocations: 16.69 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.4216, allocations: 16.38 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.4221, allocations: 344.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4221, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.4222, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.4222, allocations: 16 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.4226, allocations: 267.8 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.4241, allocations: 1.034 MB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.4242, allocations: 177.1 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.4243, allocations: 88.08 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.4243, allocations: 75.47 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.179e-05/0.4244, allocations: 113.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.4244, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001178/0.4245, allocations: 53.56 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.4246, allocations: 126.7 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.4253, allocations: 0.5004 MB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4253, allocations: 25.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.4254, allocations: 167.9 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.4255, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.4255, allocations: 37.66 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.4257, allocations: 338.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.4258, allocations: 51.95 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.4259, allocations: 98.77 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.4261, allocations: 118.8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4261, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003462/0.4265, allocations: 189.2 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4265, allocations: 8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4265, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4265, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4266, allocations: 23.92 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4267, allocations: 12.39 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4268, allocations: 39.72 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4268, allocations: 11.94 kB / 1.333 GB, free: 10.95 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.0002213/0.427, allocations: 245.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.4271, allocations: 132.7 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.4272, allocations: 130.8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001147/0.4273, allocations: 184.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001185/0.4275, allocations: 184.2 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.096e-05/0.4275, allocations: 176.3 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.4279, allocations: 456.2 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-05/0.428, allocations: 105 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.428, allocations: 104.9 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.225e-05/0.4281, allocations: 188.2 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.363e-05/0.4282, allocations: 180.3 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.444e-05/0.4283, allocations: 180.2 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.322e-05/0.4284, allocations: 188.2 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.4286, allocations: 331.6 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4288, allocations: 145 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.4289, allocations: 184.2 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.429, allocations: 105 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4291, allocations: 188.2 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.4292, allocations: 105 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004371/0.4296, allocations: 367 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4296, allocations: 0 / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002892/0.4299, allocations: 24 kB / 1.336 GB, free: 6.926 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.0006016/0.4305, allocations: 0.832 MB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.4307, allocations: 71.89 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4307, allocations: 0.5 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.4307, allocations: 0 / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.4313, allocations: 481.1 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.4353, allocations: 3.3 MB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.4355, allocations: 172.1 kB / 1.341 GB, free: 1.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.4356, allocations: 53.55 kB / 1.341 GB, free: 1.859 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4357, allocations: 63.42 kB / 1.341 GB, free: 1.797 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4357, allocations: 0 / 1.341 GB, free: 1.797 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.4619, allocations: 4.898 MB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.08, allocations: 9.156 kB / 1.346 GB, free: 13.09 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: 19.17823874100577]