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.001613/0.001613, allocations: 114.3 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.001477/0.001477, allocations: 215.2 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.996 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.41/3.41, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_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.002092/0.002092, allocations: 66.12 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4134, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002541/0.4159, allocations: 0.7584 MB / 1.354 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.4162, allocations: 52.23 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.4163, allocations: 3.938 kB / 1.354 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.4165, allocations: 15.86 kB / 1.354 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.4165, allocations: 19.91 kB / 1.354 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.4167, allocations: 27.97 kB / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.417, allocations: 123.6 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.4172, allocations: 92.77 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4173, allocations: 71.78 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4175, allocations: 71.64 kB / 1.354 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.4175, allocations: 12 kB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.4175, allocations: 16 kB / 1.354 GB, free: 7.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.852e-05/0.4176, allocations: 47.86 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.4177, allocations: 83.42 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.418, allocations: 243.2 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.418, allocations: 0 / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/0.418, allocations: 0 / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.418, allocations: 4 kB / 1.354 GB, free: 6.836 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.0006483/0.4187, allocations: 445.5 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4187, allocations: 8.031 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.919e-05/0.4188, allocations: 54.73 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.4188, allocations: 24.8 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.4192, allocations: 210 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.4192, allocations: 8.75 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.4193, allocations: 20.38 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.4198, allocations: 340.7 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4198, allocations: 0 / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.4198, allocations: 12 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.4199, allocations: 15.98 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.4203, allocations: 263.8 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.4217, allocations: 1.069 MB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.4218, allocations: 169.1 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.4218, allocations: 80.14 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.4218, allocations: 83.22 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.764e-05/0.4219, allocations: 114 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.4219, allocations: 0 / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001036/0.422, allocations: 49.55 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.4221, allocations: 126.7 kB / 1.357 GB, free: 3.613 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.4227, allocations: 0.5043 MB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4227, allocations: 25.7 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.4229, allocations: 175.9 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-06/0.4229, allocations: 4 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.423, allocations: 29.7 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4231, allocations: 338.8 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.4232, allocations: 51.95 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4233, allocations: 102.8 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4235, allocations: 114.8 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4235, allocations: 3.938 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003476/0.4239, allocations: 185.3 kB / 1.359 GB, free: 2.004 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4239, allocations: 11.88 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4239, allocations: 4 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4239, allocations: 0 / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.424, allocations: 28.17 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.424, allocations: 4 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4242, allocations: 35.72 kB / 1.359 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.4242, allocations: 12 kB / 1.359 GB, free: 1.91 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.0002058/0.4244, allocations: 245 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4245, allocations: 136.7 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.4246, allocations: 138.8 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.971e-05/0.4247, allocations: 184.2 kB / 1.36 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001119/0.4248, allocations: 180.3 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.779e-05/0.4249, allocations: 176.3 kB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.4253, allocations: 472.2 kB / 1.36 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/0.4253, allocations: 101 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.4254, allocations: 108.9 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.4255, allocations: 192.1 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/0.4256, allocations: 176.3 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.418e-05/0.4257, allocations: 184.2 kB / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-05/0.4257, allocations: 180.8 kB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.426, allocations: 331.6 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.4261, allocations: 140.8 kB / 1.362 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.4262, allocations: 188.5 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4264, allocations: 109 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.4265, allocations: 184.2 kB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.4265, allocations: 105 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004542/0.427, allocations: 367 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.427, allocations: 0 / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002861/0.4272, allocations: 24 kB / 1.363 GB, free: 13.88 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.0005729/0.4278, allocations: 0.8358 MB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.428, allocations: 67.89 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.428, allocations: 4 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.428, allocations: 4 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.4286, allocations: 477.6 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.4326, allocations: 3.3 MB / 1.367 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.4332, allocations: 0.7749 MB / 1.368 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.4333, allocations: 53.61 kB / 1.368 GB, free: 8.191 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.4334, allocations: 59.42 kB / 1.368 GB, free: 8.133 MB / 1.061 GB Notification: Performance of SimCode: time 7.02e-07/0.4334, allocations: 0 / 1.368 GB, free: 8.133 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.4713, allocations: 4.76 MB / 1.373 GB, free: 3.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.88, allocations: 13.91 kB / 1.373 GB, free: 3.512 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: 19.0197706441395]