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.001329/0.001329, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001468/0.001468, allocations: 216 kB / 22.25 MB, free: 5.117 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 8.031 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.292/3.292, allocations: 0.49 GB / 0.7951 GB, free: 33.27 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.002061/0.002061, allocations: 70.28 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4267, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.002225/0.4289, allocations: 0.753 MB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.4292, allocations: 52.3 kB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.4293, allocations: 7.938 kB / 1.327 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.4295, allocations: 15.8 kB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.4295, allocations: 11.92 kB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.4297, allocations: 31.95 kB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.43, allocations: 123.7 kB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.4302, allocations: 84.84 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.4303, allocations: 71.78 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.4304, allocations: 75.62 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.4305, allocations: 12 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-05/0.4305, allocations: 12 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.4306, allocations: 47.86 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.4307, allocations: 83.42 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.431, allocations: 255.2 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.431, allocations: 0 / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.475e-06/0.431, allocations: 3.938 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.431, allocations: 4 kB / 1.328 GB, free: 324 kB / 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.0006968/0.4317, allocations: 425.6 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.4318, allocations: 12.03 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.836e-05/0.4319, allocations: 62.7 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.4319, allocations: 28.75 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.4323, allocations: 194.2 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.4323, allocations: 20.75 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.4323, allocations: 16.38 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.4329, allocations: 344.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4329, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.4329, allocations: 8 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.433, allocations: 8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.4333, allocations: 267.8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.4347, allocations: 1.053 MB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.4348, allocations: 173 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.4349, allocations: 80.14 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.4349, allocations: 79.28 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/0.435, allocations: 110 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.435, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001209/0.4351, allocations: 57.44 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.4352, allocations: 126.7 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/0.4358, allocations: 0.4887 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.4359, allocations: 25.7 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.436, allocations: 179.9 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.436, allocations: 3.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.4361, allocations: 25.72 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.4363, allocations: 338.8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.4364, allocations: 55.94 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.4365, allocations: 89.97 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.4366, allocations: 113.8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4366, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003251/0.437, allocations: 181.3 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.437, allocations: 7.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.437, allocations: 4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.437, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4371, allocations: 23.98 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.4371, allocations: 8.156 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4372, allocations: 43.72 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4372, allocations: 8 kB / 1.332 GB, free: 11.45 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.0002034/0.4374, allocations: 245.6 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4375, allocations: 128.8 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.299e-05/0.4376, allocations: 146.7 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-05/0.4377, allocations: 176.3 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.572e-05/0.4378, allocations: 184.2 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.507e-05/0.4379, allocations: 176.3 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.4383, allocations: 468.2 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.598e-05/0.4383, allocations: 105 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.4384, allocations: 105 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.4385, allocations: 192.1 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.4386, allocations: 176.3 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.98e-05/0.4387, allocations: 188.1 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-05/0.4388, allocations: 176.3 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.439, allocations: 331.6 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4392, allocations: 144.8 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4393, allocations: 188.4 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4394, allocations: 105 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4395, allocations: 180.3 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.4396, allocations: 108.9 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004579/0.4401, allocations: 363 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4401, allocations: 4 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003156/0.4404, allocations: 28 kB / 1.336 GB, free: 7.414 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.0006353/0.441, allocations: 0.8242 MB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.4412, allocations: 71.83 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4412, allocations: 0 / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.4412, allocations: 4 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.442, allocations: 482.7 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.446, allocations: 3.271 MB / 1.34 GB, free: 2.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.4464, allocations: 0.7749 MB / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.4465, allocations: 53.59 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.4466, allocations: 59.42 kB / 1.341 GB, free: 1.723 MB / 1.029 GB Notification: Performance of SimCode: time 1.653e-06/0.4466, allocations: 0 / 1.341 GB, free: 1.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.4809, allocations: 4.729 MB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.52, allocations: 9.625 kB / 1.346 GB, free: 13.12 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.60783393299971]