Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001343/0.001343, allocations: 103 kB / 16.45 MB, free: 6.5 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.001414/0.001414, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.143/3.143, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] 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.MatrixMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.002064/0.002064, allocations: 71.94 kB / 1.149 GB, free: 26.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 176.1 MB / 1.321 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002071/0.362, allocations: 0.7401 MB / 1.322 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002425/0.3622, allocations: 55.83 kB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.3623, allocations: 7.938 kB / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.3625, allocations: 11.86 kB / 1.322 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.3625, allocations: 15.92 kB / 1.322 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.3627, allocations: 27.95 kB / 1.322 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.3629, allocations: 131.6 kB / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.3632, allocations: 128.5 kB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.28e-05/0.3632, allocations: 67.8 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.3633, allocations: 71.64 kB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.3634, allocations: 12 kB / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.09e-05/0.3634, allocations: 12 kB / 1.322 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.3635, allocations: 63.83 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3636, allocations: 87.36 kB / 1.322 GB, free: 2.012 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.3639, allocations: 243.6 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.3639, allocations: 0 / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3639, allocations: 0 / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3639, allocations: 3.938 kB / 1.322 GB, free: 1.77 MB / 1.014 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.0006471/0.3645, allocations: 498.8 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3646, allocations: 11.98 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.316e-05/0.3647, allocations: 58.72 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.3647, allocations: 32.75 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.365, allocations: 252 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.365, allocations: 12.75 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.365, allocations: 20.38 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.3656, allocations: 344.9 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.3656, allocations: 0 / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.3656, allocations: 4 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.3656, allocations: 12 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.366, allocations: 271.7 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3673, allocations: 1.088 MB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3674, allocations: 169.1 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.3675, allocations: 88.14 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.3675, allocations: 79.22 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.075e-05/0.3676, allocations: 106 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.3676, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001058/0.3677, allocations: 53.5 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.3678, allocations: 126.7 kB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.3684, allocations: 0.4965 MB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3684, allocations: 25.7 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3686, allocations: 171.9 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.3686, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.3686, allocations: 29.7 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3688, allocations: 342.8 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.3689, allocations: 43.97 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.369, allocations: 97.91 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3692, allocations: 109.9 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3692, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003246/0.3695, allocations: 185.3 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3695, allocations: 11.94 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3695, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3696, allocations: 4.219 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3697, allocations: 27.98 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3697, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3698, allocations: 39.73 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3698, allocations: 11.92 kB / 1.327 GB, free: 12.71 MB / 1.029 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.0001961/0.37, allocations: 250.8 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/0.3701, allocations: 128.8 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.63e-05/0.3702, allocations: 130.8 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.14e-05/0.3703, allocations: 184.2 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.969e-05/0.3704, allocations: 184.3 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.23e-05/0.3705, allocations: 184.2 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.3708, allocations: 485.1 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.653e-05/0.3709, allocations: 108.9 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.371, allocations: 108.9 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.3711, allocations: 188.2 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.655e-05/0.3712, allocations: 184.2 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.309e-05/0.3712, allocations: 176.3 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.693e-05/0.3713, allocations: 180.2 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3716, allocations: 335.6 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3717, allocations: 213.9 kB / 1.33 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.3719, allocations: 188.5 kB / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.372, allocations: 105 kB / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3721, allocations: 188.2 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.3722, allocations: 105 kB / 1.331 GB, free: 8.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004536/0.3726, allocations: 363 kB / 1.331 GB, free: 8.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3726, allocations: 0 / 1.331 GB, free: 8.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003003/0.3729, allocations: 24 kB / 1.331 GB, free: 8.555 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.0006002/0.3735, allocations: 0.8398 MB / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3737, allocations: 63.89 kB / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3737, allocations: 0 / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3737, allocations: 0 / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.3744, allocations: 489.1 kB / 1.332 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.3782, allocations: 3.286 MB / 1.336 GB, free: 3.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.3786, allocations: 0.7788 MB / 1.336 GB, free: 2.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.996e-05/0.3787, allocations: 49.47 kB / 1.336 GB, free: 2.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3788, allocations: 63.41 kB / 1.336 GB, free: 2.824 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/0.3788, allocations: 0 / 1.336 GB, free: 2.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.4073, allocations: 4.588 MB / 1.341 GB, free: 14.33 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/8.827, allocations: 10.36 kB / 1.341 GB, free: 14.32 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.450908408034593]