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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 105.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 1.134 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001853/1.034, allocations: 0.7441 MB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002397/1.034, allocations: 57.8 kB / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/1.034, allocations: 0 / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/1.034, allocations: 14.34 kB / 1.305 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/1.034, allocations: 14.42 kB / 1.305 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/1.034, allocations: 27.58 kB / 1.305 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000172/1.034, allocations: 128.2 kB / 1.305 GB, free: 31.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/1.035, allocations: 136.5 kB / 1.305 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.804e-05/1.035, allocations: 68.3 kB / 1.305 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/1.035, allocations: 74.7 kB / 1.305 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/1.035, allocations: 11.81 kB / 1.305 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.533e-05/1.035, allocations: 11.31 kB / 1.305 GB, free: 31.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/1.035, allocations: 51.05 kB / 1.305 GB, free: 31.42 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/1.035, allocations: 85.95 kB / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/1.035, allocations: 241.1 kB / 1.306 GB, free: 31.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.035, allocations: 3.094 kB / 1.306 GB, free: 31.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.474e-06/1.035, allocations: 0 / 1.306 GB, free: 31.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.035, allocations: 0 / 1.306 GB, free: 31.27 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005174/1.036, allocations: 497.6 kB / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.036, allocations: 11.66 kB / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/1.036, allocations: 58.47 kB / 1.306 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/1.036, allocations: 36.27 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/1.036, allocations: 251.6 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.036, allocations: 17.58 kB / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/1.036, allocations: 24.09 kB / 1.306 GB, free: 30.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/1.037, allocations: 334 kB / 1.307 GB, free: 30.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.037, allocations: 2.844 kB / 1.307 GB, free: 30.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/1.037, allocations: 4 kB / 1.307 GB, free: 30.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/1.037, allocations: 18.59 kB / 1.307 GB, free: 30.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/1.037, allocations: 266.2 kB / 1.307 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/1.038, allocations: 1.081 MB / 1.308 GB, free: 29.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.774e-05/1.038, allocations: 175.9 kB / 1.308 GB, free: 29.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/1.038, allocations: 84.17 kB / 1.308 GB, free: 29.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/1.038, allocations: 83.28 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.038, allocations: 109.1 kB / 1.309 GB, free: 29.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/1.038, allocations: 0 / 1.309 GB, free: 29.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.917e-05/1.038, allocations: 56.39 kB / 1.309 GB, free: 29.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.038, allocations: 126.7 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/1.039, allocations: 0.4915 MB / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/1.039, allocations: 25.7 kB / 1.309 GB, free: 28.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/1.039, allocations: 179.3 kB / 1.309 GB, free: 28.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.039, allocations: 0 / 1.309 GB, free: 28.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/1.039, allocations: 36.33 kB / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/1.039, allocations: 341.1 kB / 1.31 GB, free: 28.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/1.039, allocations: 46.8 kB / 1.31 GB, free: 28.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/1.039, allocations: 94.41 kB / 1.31 GB, free: 28.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/1.039, allocations: 97.61 kB / 1.31 GB, free: 28.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.039, allocations: 6.75 kB / 1.31 GB, free: 28.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002583/1.039, allocations: 189.8 kB / 1.31 GB, free: 27.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.039, allocations: 11.91 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/1.039, allocations: 2.5 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/1.039, allocations: 2.656 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/1.039, allocations: 20.7 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.039, allocations: 2.812 kB / 1.31 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/1.04, allocations: 44.19 kB / 1.31 GB, free: 27.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/1.04, allocations: 12.69 kB / 1.31 GB, free: 27.94 MB / 1.061 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.0001212/1.04, allocations: 253.2 kB / 1.311 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/1.04, allocations: 128.7 kB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/1.04, allocations: 135 kB / 1.311 GB, free: 27.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/1.04, allocations: 179.7 kB / 1.311 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/1.04, allocations: 184.3 kB / 1.311 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/1.04, allocations: 183.1 kB / 1.311 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/1.04, allocations: 487.2 kB / 1.312 GB, free: 26.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.04, allocations: 108.2 kB / 1.312 GB, free: 26.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/1.04, allocations: 104 kB / 1.312 GB, free: 26.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-05/1.04, allocations: 180.2 kB / 1.312 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/1.04, allocations: 188.2 kB / 1.312 GB, free: 25.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-05/1.04, allocations: 183.1 kB / 1.313 GB, free: 25.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.999e-05/1.04, allocations: 184.5 kB / 1.313 GB, free: 25.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.433e-05/1.04, allocations: 322.4 kB / 1.313 GB, free: 25.19 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.04, allocations: 222.2 kB / 1.313 GB, free: 24.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/1.04, allocations: 187.1 kB / 1.313 GB, free: 24.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/1.041, allocations: 111.2 kB / 1.313 GB, free: 24.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/1.041, allocations: 179.2 kB / 1.314 GB, free: 24.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/1.041, allocations: 101.3 kB / 1.314 GB, free: 24.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002779/1.041, allocations: 367.5 kB / 1.314 GB, free: 24.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 4 kB / 1.314 GB, free: 24.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002511/1.041, allocations: 23.22 kB / 1.314 GB, free: 24.24 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.0003171/1.041, allocations: 0.8337 MB / 1.315 GB, free: 23.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000132/1.042, allocations: 72.98 kB / 1.315 GB, free: 23.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.042, allocations: 0 / 1.315 GB, free: 23.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/1.042, allocations: 0 / 1.315 GB, free: 23.39 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/1.042, allocations: 491.4 kB / 1.315 GB, free: 22.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/1.045, allocations: 3.274 MB / 1.319 GB, free: 21.04 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/1.045, allocations: 0.7755 MB / 1.319 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.635e-05/1.045, allocations: 52.42 kB / 1.319 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/1.045, allocations: 64.78 kB / 1.32 GB, free: 20.28 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/1.045, allocations: 0 / 1.32 GB, free: 20.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/1.073, allocations: 4.593 MB / 1.324 GB, free: 19.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/9.295, allocations: 9.25 kB / 1.324 GB, free: 19.72 MB / 1.061 GB " [Timeout remaining time 291] (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_2/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: 15.877767525147647]