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.001149/0.001149, 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.0009126/0.0009126, 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.8704/0.8704, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.716/1.716, allocations: 389 MB / 0.633 GB, free: 12.69 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.185e-06/3.185e-06, allocations: 0 / 0.9997 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.249e-05, allocations: 6.281 kB / 0.9997 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.00145/0.001472, allocations: 0.7287 MB / 1 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.001702, allocations: 51.83 kB / 1 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.001748, allocations: 7.938 kB / 1.001 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.001875, allocations: 15.86 kB / 1.001 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.00192, allocations: 11.92 kB / 1.001 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.002062, allocations: 30.97 kB / 1.001 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.00221, allocations: 119.7 kB / 1.001 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.002378, allocations: 92.88 kB / 1.001 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.002461, allocations: 95.8 kB / 1.001 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.002539, allocations: 75.81 kB / 1.001 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.002573, allocations: 8 kB / 1.001 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.002591, allocations: 15.94 kB / 1.001 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.002655, allocations: 55.83 kB / 1.001 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.002711, allocations: 51.84 kB / 1.001 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.00291, allocations: 235.2 kB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.002912, allocations: 0 / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.403e-06/0.002914, allocations: 4 kB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.002919, allocations: 0 / 1.001 GB, free: 10.73 MB / 0.9167 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.0004204/0.00334, allocations: 429.6 kB / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.003377, allocations: 8.75 kB / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.003422, allocations: 66.72 kB / 1.002 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.003458, allocations: 28.75 kB / 1.002 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.003646, allocations: 193.4 kB / 1.002 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.003661, allocations: 12.75 kB / 1.002 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.003679, allocations: 16.38 kB / 1.002 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.004021, allocations: 349.5 kB / 1.002 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.004031, allocations: 192 / 1.002 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.004046, allocations: 8.375 kB / 1.002 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.004075, allocations: 19.92 kB / 1.002 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.004305, allocations: 263.8 kB / 1.003 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.005142, allocations: 1.046 MB / 1.004 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.005205, allocations: 165.1 kB / 1.004 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.00523, allocations: 80.14 kB / 1.004 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.005247, allocations: 79.28 kB / 1.004 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.005284, allocations: 109.8 kB / 1.004 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.005285, allocations: 0 / 1.004 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 7.968e-05/0.005365, allocations: 65.52 kB / 1.004 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.00541, allocations: 126.7 kB / 1.004 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.005791, allocations: 0.5042 MB / 1.005 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.005801, allocations: 25.7 kB / 1.005 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.005896, allocations: 171.9 kB / 1.005 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.005898, allocations: 4 kB / 1.005 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.005941, allocations: 33.66 kB / 1.005 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.006034, allocations: 342.8 kB / 1.005 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.00609, allocations: 51.95 kB / 1.005 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.006159, allocations: 98.83 kB / 1.005 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.944e-05/0.006258, allocations: 114.7 kB / 1.006 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006261, allocations: 4 kB / 1.006 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002185/0.006479, allocations: 185.3 kB / 1.006 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.006495, allocations: 11.98 kB / 1.006 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.0065, allocations: 0 / 1.006 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.006513, allocations: 8.188 kB / 1.006 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.006594, allocations: 24 kB / 1.006 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.006601, allocations: 7.922 kB / 1.006 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.006664, allocations: 35.73 kB / 1.006 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.006676, allocations: 8 kB / 1.006 GB, free: 5.828 MB / 0.9167 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.0001108/0.006787, allocations: 245.1 kB / 1.006 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.006839, allocations: 132.9 kB / 1.006 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.006889, allocations: 135.5 kB / 1.006 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/0.006928, allocations: 184.2 kB / 1.006 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-05/0.006972, allocations: 184.2 kB / 1.007 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-05/0.007013, allocations: 176.3 kB / 1.007 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.007208, allocations: 448.2 kB / 1.007 GB, free: 4.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/0.007236, allocations: 108.9 kB / 1.007 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.007264, allocations: 109.1 kB / 1.007 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.437e-05/0.007308, allocations: 180.2 kB / 1.008 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.007359, allocations: 184.3 kB / 1.008 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-05/0.007403, allocations: 180.2 kB / 1.008 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.206e-05/0.007445, allocations: 180.2 kB / 1.008 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.007561, allocations: 335.6 kB / 1.008 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.007629, allocations: 140.8 kB / 1.009 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.007687, allocations: 180.3 kB / 1.009 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.007759, allocations: 124.8 kB / 1.009 GB, free: 2.484 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.007806, allocations: 176.3 kB / 1.009 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.007831, allocations: 108.9 kB / 1.009 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002479/0.008079, allocations: 363 kB / 1.009 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008079, allocations: 4 kB / 1.01 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001824/0.008261, allocations: 24 kB / 1.01 GB, free: 1.809 MB / 0.9167 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.0003034/0.008565, allocations: 0.8204 MB / 1.01 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.008678, allocations: 68.14 kB / 1.01 GB, free: 0.8906 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.00868, allocations: 8.125 kB / 1.01 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.008682, allocations: 8 kB / 1.01 GB, free: 0.875 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.009094, allocations: 486.7 kB / 1.011 GB, free: 408 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.01146, allocations: 3.323 MB / 1.014 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.811e-05/0.01156, allocations: 168.2 kB / 1.014 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 6.864e-05/0.01162, allocations: 49.61 kB / 1.014 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.0117, allocations: 60.48 kB / 1.014 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of SimCode: time 7.51e-07/0.0117, allocations: 0 / 1.014 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.03037, allocations: 5.375 MB / 1.02 GB, free: 7.441 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/6.676, allocations: 8.062 kB / 1.02 GB, free: 7.434 MB / 0.9323 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.96238267607987]