Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.001289/0.001289, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001481/0.001481, allocations: 223.2 kB / 22.25 MB, free: 5.102 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.797 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.225/3.225, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",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.002102/0.002102, allocations: 71.92 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3716, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002099/0.3737, allocations: 0.7379 MB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002507/0.374, allocations: 56.22 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.374, allocations: 3.938 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.3742, allocations: 23.8 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.894e-05/0.3742, allocations: 11.98 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.3744, allocations: 23.97 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.3746, allocations: 123.6 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.3748, allocations: 84.84 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.3749, allocations: 71.78 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.375, allocations: 71.64 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.375, allocations: 16 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.45e-05/0.375, allocations: 12 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.3751, allocations: 55.83 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.3752, allocations: 67.55 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.3755, allocations: 243.4 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3755, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3755, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.3755, allocations: 0 / 1.327 GB, free: 15.88 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005446/0.376, allocations: 437.5 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3761, allocations: 12.03 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.238e-05/0.3762, allocations: 62.72 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.3762, allocations: 28.75 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.3765, allocations: 198.2 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3765, allocations: 16.75 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.3766, allocations: 20.38 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.3771, allocations: 352.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3771, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.3771, allocations: 8 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.3771, allocations: 16 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.3775, allocations: 259.8 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3787, allocations: 1.03 MB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.539e-05/0.3788, allocations: 173.1 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.3789, allocations: 84.14 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.3789, allocations: 75.28 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.379, allocations: 114 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.379, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.793e-05/0.3791, allocations: 49.56 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3791, allocations: 138.6 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.3797, allocations: 0.5003 MB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.3797, allocations: 25.7 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3798, allocations: 175.8 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.3798, allocations: 8 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.3799, allocations: 29.7 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3801, allocations: 342.8 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.3801, allocations: 47.97 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3802, allocations: 98.81 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3804, allocations: 122.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3804, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003313/0.3807, allocations: 193.2 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3807, allocations: 11.94 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3807, allocations: 3.984 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3808, allocations: 4 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3809, allocations: 20.23 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3809, allocations: 8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.381, allocations: 27.78 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.381, allocations: 15.98 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001813/0.3812, allocations: 249.5 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.3813, allocations: 132.7 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.501e-05/0.3814, allocations: 130.8 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.606e-05/0.3814, allocations: 184.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.911e-05/0.3815, allocations: 180.2 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-05/0.3816, allocations: 184.2 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.3819, allocations: 452.3 kB / 1.333 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-05/0.382, allocations: 105 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.382, allocations: 104.9 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-05/0.3821, allocations: 184.2 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.658e-05/0.3822, allocations: 184.2 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.321e-05/0.3823, allocations: 180.2 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.567e-05/0.3823, allocations: 184.2 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.3825, allocations: 319.7 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.3826, allocations: 148.7 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3827, allocations: 184.5 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.3829, allocations: 112.9 kB / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.3829, allocations: 188.3 kB / 1.335 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.383, allocations: 101 kB / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003865/0.3834, allocations: 363 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3834, allocations: 0 / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002666/0.3836, allocations: 24 kB / 1.336 GB, free: 6.949 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.0005043/0.3841, allocations: 0.8397 MB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.3843, allocations: 75.83 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3843, allocations: 0.5 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3843, allocations: 4 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.3849, allocations: 485 kB / 1.337 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.3883, allocations: 3.292 MB / 1.34 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.3885, allocations: 168.2 kB / 1.34 GB, free: 1.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.541e-05/0.3886, allocations: 45.62 kB / 1.34 GB, free: 1.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3887, allocations: 63.41 kB / 1.341 GB, free: 1.824 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3887, allocations: 0 / 1.341 GB, free: 1.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.4207, allocations: 5.295 MB / 1.346 GB, free: 12.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.97, allocations: 3.484 kB / 1.346 GB, free: 12.68 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_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_MatrixMin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable matMin1.y[3] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin1.y[3] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[1] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[1] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[2] in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[2] from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.153419663984096]