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.0007784/0.0007784, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001009/0.001009, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8984/0.8984, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.9 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.981 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.576e-05, allocations: 2.281 kB / 0.981 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002214/0.00224, allocations: 0.7326 MB / 0.9817 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002995/0.00254, allocations: 51.83 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.002601, allocations: 3.938 kB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.002764, allocations: 23.8 kB / 0.9818 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.00283, allocations: 11.98 kB / 0.9818 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.003035, allocations: 27.95 kB / 0.9819 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.003242, allocations: 123.6 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.003472, allocations: 84.89 kB / 0.9821 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.003587, allocations: 91.8 kB / 0.9821 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.003686, allocations: 71.81 kB / 0.9822 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.003727, allocations: 12 kB / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 2.449e-05/0.003751, allocations: 12 kB / 0.9822 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.003824, allocations: 59.83 kB / 0.9823 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.003905, allocations: 55.78 kB / 0.9823 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.004157, allocations: 231.2 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004159, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.664e-06/0.004161, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.004167, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 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.0005447/0.004712, allocations: 437.6 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.004759, allocations: 8.031 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.004821, allocations: 50.73 kB / 0.983 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.004884, allocations: 32.77 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.005145, allocations: 205.4 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.005166, allocations: 20.73 kB / 0.9833 GB, free: 120 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.005189, allocations: 12.38 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.005669, allocations: 345.6 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.005679, allocations: 192 / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.005696, allocations: 8.375 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.005731, allocations: 19.92 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.00605, allocations: 271.8 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.007249, allocations: 1.038 MB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.573e-05/0.007324, allocations: 169.1 kB / 0.9851 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.007354, allocations: 80.14 kB / 0.9852 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.007378, allocations: 79.28 kB / 0.9852 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.007424, allocations: 109.8 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.007425, allocations: 0 / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001115/0.007537, allocations: 61.56 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.007594, allocations: 130.7 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.008128, allocations: 0.4926 MB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.00814, allocations: 25.7 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.008268, allocations: 175.9 kB / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.008273, allocations: 3.984 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.008337, allocations: 29.67 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.008461, allocations: 342.8 kB / 0.9866 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.008534, allocations: 51.95 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.008632, allocations: 94.83 kB / 0.9867 GB, free: 12.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.008775, allocations: 118.7 kB / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008778, allocations: 4 kB / 0.9868 GB, free: 12.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000318/0.009096, allocations: 193.3 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.009114, allocations: 4 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.009122, allocations: 4 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.009144, allocations: 3.938 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.009262, allocations: 19.98 kB / 0.987 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.009272, allocations: 7.938 kB / 0.987 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.00938, allocations: 35.98 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.009397, allocations: 8 kB / 0.9871 GB, free: 12.04 MB / 0.948 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.0001715/0.009568, allocations: 249.1 kB / 0.9873 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.009661, allocations: 132.9 kB / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.009733, allocations: 138.7 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/0.00979, allocations: 184.1 kB / 0.9878 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.812e-05/0.009848, allocations: 180.2 kB / 0.9879 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/0.009906, allocations: 184.2 kB / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.01023, allocations: 444.2 kB / 0.9885 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/0.01026, allocations: 108.9 kB / 0.9886 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.0103, allocations: 105.1 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.574e-05/0.01036, allocations: 184.2 kB / 0.9889 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/0.01044, allocations: 180.3 kB / 0.9891 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.47e-05/0.0105, allocations: 188.2 kB / 0.9893 GB, free: 9.672 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.013e-05/0.01056, allocations: 184.2 kB / 0.9894 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.01073, allocations: 327.6 kB / 0.9897 GB, free: 9.141 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.01083, allocations: 144.8 kB / 0.9899 GB, free: 8.992 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/0.01093, allocations: 184.2 kB / 0.9901 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.01105, allocations: 112.9 kB / 0.9902 GB, free: 8.688 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.01112, allocations: 188.2 kB / 0.9904 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.01116, allocations: 104.9 kB / 0.9905 GB, free: 8.387 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003701/0.01153, allocations: 367 kB / 0.9908 GB, free: 8.027 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/0.01153, allocations: 0 / 0.9908 GB, free: 8.027 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000376/0.01191, allocations: 24 kB / 0.9908 GB, free: 8.004 MB / 0.948 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.0004106/0.01232, allocations: 0.8243 MB / 0.9916 GB, free: 7.148 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.01247, allocations: 67.83 kB / 0.9917 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01248, allocations: 0 / 0.9917 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.01248, allocations: 0 / 0.9917 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.01313, allocations: 497.7 kB / 0.9922 GB, free: 6.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.01696, allocations: 3.329 MB / 0.9954 GB, free: 3.141 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.01711, allocations: 164.2 kB / 0.9956 GB, free: 2.965 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.01724, allocations: 49.61 kB / 0.9956 GB, free: 2.914 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.01734, allocations: 68.47 kB / 0.9957 GB, free: 2.848 MB / 0.948 GB Notification: Performance of SimCode: time 1.192e-06/0.01735, allocations: 3.938 kB / 0.9957 GB, free: 2.844 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.0399, allocations: 5.359 MB / 1.001 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/6.841, allocations: 10.16 kB / 1.001 GB, free: 13.62 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.831828306429088]