Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007629/0.0007629, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008094/0.0008094, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8841/0.8841, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.739/1.739, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.671e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001396/0.001422, allocations: 0.7262 MB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.00164, allocations: 59.81 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.001685, allocations: 3.938 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.001828, allocations: 23.8 kB / 1.001 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.001874, allocations: 11.98 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.002031, allocations: 34.02 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.002192, allocations: 123.6 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.002367, allocations: 76.91 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.002455, allocations: 99.78 kB / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.002534, allocations: 71.81 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.002567, allocations: 12 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.934e-05/0.002586, allocations: 12 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.002641, allocations: 51.84 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.002689, allocations: 51.78 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.002879, allocations: 239.2 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.002883, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002884, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.002888, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 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.0004124/0.003301, allocations: 425.6 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.003344, allocations: 12.75 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.003391, allocations: 58.72 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.003435, allocations: 28.75 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.003645, allocations: 193.4 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.00366, allocations: 16.75 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.003681, allocations: 20.36 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.004043, allocations: 349.5 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.004053, allocations: 192 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.00407, allocations: 8.375 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.004102, allocations: 19.94 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.004337, allocations: 267.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.005219, allocations: 1.038 MB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.778e-05/0.005297, allocations: 173.1 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.005329, allocations: 84.14 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.005348, allocations: 79.28 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.005383, allocations: 105.8 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.005384, allocations: 0 / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.892e-05/0.005463, allocations: 57.62 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.00551, allocations: 126.7 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.005878, allocations: 0.5043 MB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.005887, allocations: 25.7 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.005981, allocations: 171.8 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.005985, allocations: 4 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.006028, allocations: 33.7 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.006131, allocations: 338.8 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.006183, allocations: 51.95 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.006254, allocations: 102.8 kB / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.006357, allocations: 114.7 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.006362, allocations: 8 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002313/0.006593, allocations: 189.3 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.006609, allocations: 8 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.006614, allocations: 0 / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.006628, allocations: 7.938 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.006714, allocations: 19.98 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.006723, allocations: 8.094 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.006793, allocations: 39.97 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.006807, allocations: 11.98 kB / 1.006 GB, free: 6.934 MB / 0.9636 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.0001155/0.006923, allocations: 245.1 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.006975, allocations: 128.9 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.007032, allocations: 139.5 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.374e-05/0.007076, allocations: 188.2 kB / 1.006 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.185e-05/0.007117, allocations: 180.2 kB / 1.007 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/0.007161, allocations: 176.3 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.007364, allocations: 452.2 kB / 1.007 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.007391, allocations: 104.9 kB / 1.007 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.007417, allocations: 105.1 kB / 1.007 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.603e-05/0.007463, allocations: 188.1 kB / 1.008 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.007512, allocations: 184.3 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-05/0.007555, allocations: 180.2 kB / 1.008 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-05/0.007601, allocations: 188.2 kB / 1.008 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.007722, allocations: 323.6 kB / 1.008 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.007789, allocations: 144.8 kB / 1.009 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.00785, allocations: 180.2 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.007923, allocations: 116.9 kB / 1.009 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.007975, allocations: 176.3 kB / 1.009 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.008003, allocations: 112.9 kB / 1.009 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002491/0.008252, allocations: 371 kB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/0.008252, allocations: 0 / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001843/0.008436, allocations: 24 kB / 1.01 GB, free: 2.91 MB / 0.9636 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.0003007/0.008737, allocations: 0.8165 MB / 1.01 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.008853, allocations: 71.83 kB / 1.01 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008855, allocations: 0 / 1.01 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.008856, allocations: 4.484 kB / 1.01 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.009285, allocations: 493.1 kB / 1.011 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.01164, allocations: 3.326 MB / 1.014 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.01174, allocations: 164.2 kB / 1.014 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.988e-05/0.01181, allocations: 49.61 kB / 1.014 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.01189, allocations: 68.48 kB / 1.014 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of SimCode: time 1.032e-06/0.01189, allocations: 3.938 kB / 1.014 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.03066, allocations: 5.359 MB / 1.02 GB, free: 8.559 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/6.924, allocations: 8.047 kB / 1.02 GB, free: 8.551 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin1.y[3] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! Error: Could not read variable matMin2.y[2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv. Warning: Get data of variable matMin2.y[2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.054164752364159]