Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003101/0.003101, allocations: 71.88 kB / 1.056 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7585, allocations: 160.7 MB / 1.213 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002197/0.7607, allocations: 0.7585 MB / 1.214 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.761, allocations: 52.67 kB / 1.214 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.761, allocations: 1.125 kB / 1.214 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.7612, allocations: 19.11 kB / 1.214 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.7612, allocations: 11.08 kB / 1.214 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.7614, allocations: 36.83 kB / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.7616, allocations: 123.3 kB / 1.214 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.7618, allocations: 132.4 kB / 1.214 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.7619, allocations: 74.2 kB / 1.214 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.762, allocations: 72.58 kB / 1.214 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.762, allocations: 11.78 kB / 1.214 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.837e-05/0.7621, allocations: 15.38 kB / 1.214 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.7621, allocations: 53.33 kB / 1.214 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.7623, allocations: 84.98 kB / 1.214 GB, free: 2.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.7625, allocations: 235.6 kB / 1.215 GB, free: 2.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7625, allocations: 1.188 kB / 1.215 GB, free: 2.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7625, allocations: 4 kB / 1.215 GB, free: 2.688 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.7625, allocations: 0 / 1.215 GB, free: 2.688 MB / 0.92 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.0006022/0.7631, allocations: 0.5064 MB / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.7632, allocations: 9.672 kB / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.7633, allocations: 57.08 kB / 1.215 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.7633, allocations: 23.58 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.7637, allocations: 258.7 kB / 1.215 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.7637, allocations: 11.66 kB / 1.215 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.7637, allocations: 16.19 kB / 1.215 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.7642, allocations: 348.3 kB / 1.216 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7642, allocations: 5.031 kB / 1.216 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.7643, allocations: 9.094 kB / 1.216 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.7643, allocations: 16.19 kB / 1.216 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.7646, allocations: 263.4 kB / 1.216 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.766, allocations: 1.098 MB / 1.217 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.7661, allocations: 166.5 kB / 1.217 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.7662, allocations: 84.11 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.7662, allocations: 79.28 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.7662, allocations: 115.5 kB / 1.218 GB, free: 256 kB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.7663, allocations: 0 / 1.218 GB, free: 256 kB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001079/0.7664, allocations: 56.31 kB / 1.218 GB, free: 204 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.7664, allocations: 130.7 kB / 1.218 GB, free: 60 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.7671, allocations: 0.4915 MB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.7671, allocations: 25.7 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.7672, allocations: 177 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-06/0.7672, allocations: 9.484 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.7673, allocations: 29.77 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.7675, allocations: 339.7 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.7676, allocations: 51.25 kB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.7677, allocations: 94.23 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.7678, allocations: 124.6 kB / 1.219 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7678, allocations: 0 / 1.219 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003299/0.7682, allocations: 191.3 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7682, allocations: 9.688 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.7682, allocations: 2.031 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.7682, allocations: 2.281 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.7683, allocations: 23.45 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7683, allocations: 3.594 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.7684, allocations: 34.47 kB / 1.219 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.7685, allocations: 13.95 kB / 1.219 GB, free: 14.9 MB / 0.9356 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.0001988/0.7687, allocations: 246.2 kB / 1.22 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.7688, allocations: 135.3 kB / 1.22 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.7689, allocations: 131.7 kB / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-05/0.769, allocations: 181.6 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.602e-05/0.769, allocations: 184.2 kB / 1.22 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.461e-05/0.7691, allocations: 182.1 kB / 1.22 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.7695, allocations: 493.5 kB / 1.221 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.807e-05/0.7695, allocations: 110 kB / 1.221 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.405e-05/0.7696, allocations: 104.9 kB / 1.221 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.274e-05/0.7697, allocations: 185.3 kB / 1.221 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.49e-05/0.7698, allocations: 181.3 kB / 1.221 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-05/0.7699, allocations: 193.4 kB / 1.222 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.107e-05/0.7699, allocations: 181.5 kB / 1.222 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.7701, allocations: 325.2 kB / 1.222 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.7703, allocations: 223.6 kB / 1.222 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.7704, allocations: 178.5 kB / 1.222 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.7706, allocations: 112 kB / 1.223 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.7707, allocations: 181.4 kB / 1.223 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.7707, allocations: 102.4 kB / 1.223 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004019/0.7711, allocations: 365.8 kB / 1.223 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7711, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002843/0.7714, allocations: 24.31 kB / 1.223 GB, free: 11.07 MB / 0.9356 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.0005684/0.772, allocations: 0.8386 MB / 1.224 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.7721, allocations: 72.7 kB / 1.224 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7721, allocations: 4 kB / 1.224 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.7721, allocations: 1.375 kB / 1.224 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.7728, allocations: 476.7 kB / 1.224 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.7765, allocations: 3.312 MB / 1.228 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.7769, allocations: 0.7766 MB / 1.228 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.777, allocations: 47.25 kB / 1.229 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.7772, allocations: 64.47 kB / 1.229 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/0.7772, allocations: 0 / 1.229 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.8049, allocations: 4.62 MB / 1.233 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/9.185, allocations: 5.641 kB / 1.233 GB, free: 3.004 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.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.014577480964363]