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.001505/0.001505, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001601/0.001601, allocations: 216.2 kB / 22.24 MB, free: 5.258 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.789 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.335/3.335, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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.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.002059/0.002059, allocations: 69.55 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4149, allocations: 176.1 MB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00225/0.4171, allocations: 0.7307 MB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.4174, allocations: 48.25 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.4175, allocations: 11.94 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.4176, allocations: 19.84 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.4177, allocations: 11.92 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.4179, allocations: 27.95 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.4181, allocations: 123.6 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.4183, allocations: 84.84 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.4184, allocations: 75.78 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.4185, allocations: 71.64 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.4186, allocations: 12 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.181e-05/0.4186, allocations: 12 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.4187, allocations: 55.84 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.508e-05/0.4188, allocations: 71.53 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.4191, allocations: 235.3 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4191, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4191, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.4191, allocations: 0 / 1.327 GB, free: 15.84 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006424/0.4197, allocations: 441.6 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4198, allocations: 8.031 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.129e-05/0.4198, allocations: 58.73 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.4199, allocations: 32.75 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.4202, allocations: 206.1 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4203, allocations: 12.75 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.4203, allocations: 20.38 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.4208, allocations: 336.9 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4208, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.4208, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.4209, allocations: 15.98 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.4212, allocations: 263.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.4227, allocations: 1.034 MB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.4228, allocations: 165.1 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.4229, allocations: 80.14 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.4229, allocations: 83.22 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/0.423, allocations: 110 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.423, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001235/0.4231, allocations: 57.48 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.4232, allocations: 126.7 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.4238, allocations: 0.4926 MB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4238, allocations: 29.7 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.424, allocations: 171.9 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.424, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.424, allocations: 29.7 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4242, allocations: 338.8 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.4243, allocations: 47.95 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.4244, allocations: 101.8 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4246, allocations: 105.9 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4246, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003272/0.4249, allocations: 189.2 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4249, allocations: 9.656 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.4249, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.425, allocations: 4.219 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4251, allocations: 23.98 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4251, allocations: 160 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.4252, allocations: 39.77 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.4252, allocations: 8 kB / 1.332 GB, free: 10.99 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.0002043/0.4254, allocations: 249.5 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.4255, allocations: 132.7 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.4256, allocations: 138.8 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.87e-05/0.4257, allocations: 180.2 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-05/0.4258, allocations: 176.3 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.999e-05/0.4259, allocations: 184.2 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.4263, allocations: 452.3 kB / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.124e-05/0.4263, allocations: 105 kB / 1.333 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.4264, allocations: 104.9 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-05/0.4265, allocations: 188.2 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.669e-05/0.4266, allocations: 180.2 kB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.708e-05/0.4267, allocations: 188.2 kB / 1.334 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.017e-05/0.4267, allocations: 184.2 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.4269, allocations: 327.7 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.4271, allocations: 144.8 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.4272, allocations: 184.5 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.4273, allocations: 116.9 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.4274, allocations: 184.3 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.4275, allocations: 101 kB / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004134/0.4279, allocations: 367 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4279, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002824/0.4282, allocations: 24 kB / 1.336 GB, free: 6.961 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.0005405/0.4287, allocations: 0.8397 MB / 1.336 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4289, allocations: 64.27 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4289, allocations: 4.062 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4289, allocations: 3.938 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.4296, allocations: 480.8 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.4341, allocations: 3.266 MB / 1.34 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.4343, allocations: 168.2 kB / 1.34 GB, free: 1.988 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.4345, allocations: 53.61 kB / 1.34 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.4346, allocations: 55.42 kB / 1.34 GB, free: 1.879 MB / 1.029 GB Notification: Performance of SimCode: time 1.863e-06/0.4346, allocations: 0 / 1.34 GB, free: 1.879 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.4711, allocations: 5.265 MB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.68, allocations: 7.016 kB / 1.346 GB, free: 12.76 MB / 1.045 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable matMax2.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! Error: Could not read variable matMax2.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv. Warning: Get data of variable matMax2.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.791062342002988]