Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001674/0.001674, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.002056/0.002056, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.39/3.39, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 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.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.00203/0.00203, allocations: 66.58 kB / 1.171 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.42, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002445/0.4224, allocations: 0.7361 MB / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.4227, allocations: 52.23 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.4228, allocations: 7.938 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.423, allocations: 19.8 kB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.423, allocations: 11.98 kB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.4232, allocations: 27.97 kB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.4234, allocations: 119.7 kB / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.4237, allocations: 88.61 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.4238, allocations: 75.72 kB / 1.346 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4239, allocations: 71.7 kB / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.4239, allocations: 8 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.424, allocations: 19.94 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.424, allocations: 55.84 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.4242, allocations: 67.55 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.4244, allocations: 239.2 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4244, allocations: 4 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4244, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.4245, allocations: 7.938 kB / 1.347 GB, free: 14.35 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006792/0.4251, allocations: 429.6 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4252, allocations: 12.03 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.735e-05/0.4252, allocations: 4.562 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.458e-05/0.4253, allocations: 54.73 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.4253, allocations: 24.8 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.4257, allocations: 206 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.4257, allocations: 8.75 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.4257, allocations: 24.38 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.4262, allocations: 352.4 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4263, allocations: 0 / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.4263, allocations: 8 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.4263, allocations: 8 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.4267, allocations: 267.8 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.428, allocations: 1.018 MB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4281, allocations: 173.1 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.4281, allocations: 84.14 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4282, allocations: 75.28 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.4282, allocations: 118 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.4282, allocations: 4 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001043/0.4283, allocations: 49.5 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.4284, allocations: 134.6 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.429, allocations: 0.4964 MB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.429, allocations: 25.7 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.4291, allocations: 167.9 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-06/0.4292, allocations: 0 / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.4292, allocations: 29.7 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4294, allocations: 338.8 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.4294, allocations: 47.95 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.4295, allocations: 93.97 kB / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.4297, allocations: 105.9 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4297, allocations: 4 kB / 1.351 GB, free: 9.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003164/0.43, allocations: 189.3 kB / 1.351 GB, free: 9.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.43, allocations: 7.938 kB / 1.351 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.43, allocations: 7.984 kB / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.43, allocations: 0 / 1.351 GB, free: 9.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4302, allocations: 19.98 kB / 1.351 GB, free: 9.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4302, allocations: 7.938 kB / 1.351 GB, free: 9.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4303, allocations: 39.7 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.4303, allocations: 8 kB / 1.351 GB, free: 9.5 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0002011/0.4305, allocations: 249 kB / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4306, allocations: 136.9 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.4307, allocations: 138.7 kB / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-05/0.4307, allocations: 176.3 kB / 1.352 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.89e-05/0.4308, allocations: 188.2 kB / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.141e-05/0.4309, allocations: 176.3 kB / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.4312, allocations: 452.3 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-05/0.4313, allocations: 108.9 kB / 1.353 GB, free: 7.809 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.4313, allocations: 101 kB / 1.353 GB, free: 7.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.002e-05/0.4314, allocations: 184.1 kB / 1.353 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.4315, allocations: 180.3 kB / 1.353 GB, free: 7.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.013e-05/0.4315, allocations: 180.2 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.738e-05/0.4316, allocations: 188.2 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.4318, allocations: 323.9 kB / 1.354 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.4319, allocations: 152.8 kB / 1.354 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.432, allocations: 180.2 kB / 1.354 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4321, allocations: 109 kB / 1.354 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.4322, allocations: 180.3 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.4323, allocations: 108.9 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004006/0.4327, allocations: 359 kB / 1.355 GB, free: 5.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4327, allocations: 4 kB / 1.355 GB, free: 5.516 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002707/0.4329, allocations: 24 kB / 1.355 GB, free: 5.492 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.0005373/0.4335, allocations: 0.8358 MB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.4336, allocations: 67.83 kB / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4336, allocations: 0 / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.4336, allocations: 4 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/0.4343, allocations: 490.6 kB / 1.356 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.4384, allocations: 3.268 MB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4386, allocations: 164.2 kB / 1.36 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.4388, allocations: 45.62 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.4389, allocations: 67.41 kB / 1.36 GB, free: 420 kB / 1.045 GB Notification: Performance of SimCode: time 1.052e-06/0.4389, allocations: 0 / 1.36 GB, free: 420 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.4665, allocations: 4.875 MB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.28, allocations: 11.3 kB / 1.365 GB, free: 11.7 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.711523891077377]