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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009725, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007495/0.007495, allocations: 172.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 15.38 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2632, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.0008353/0.264, allocations: 480.2 kB / 1.059 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.2642, allocations: 59.81 kB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.2643, allocations: 4 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.2644, allocations: 15.86 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.2645, allocations: 19.84 kB / 1.059 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.2646, allocations: 27.97 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.2648, allocations: 115.7 kB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.265, allocations: 148.5 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.265, allocations: 39.8 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.2651, allocations: 47.59 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.2652, allocations: 4 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.2652, allocations: 4 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.2652, allocations: 35.86 kB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.2653, allocations: 93.12 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.2655, allocations: 207.2 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2655, allocations: 0 / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2655, allocations: 4 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.2655, allocations: 0 / 1.06 GB, free: 3.547 MB / 0.8106 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.0004108/0.2659, allocations: 459.5 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2659, allocations: 19.91 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.266, allocations: 54.73 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.266, allocations: 24.66 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2663, allocations: 255.8 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2663, allocations: 16.69 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.2663, allocations: 20.36 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.2667, allocations: 344.9 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2667, allocations: 0 / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.2668, allocations: 12 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.2668, allocations: 15.98 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.2671, allocations: 267.8 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009827/0.2681, allocations: 1.088 MB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.2682, allocations: 165.1 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.2682, allocations: 80.14 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2682, allocations: 75.28 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.2683, allocations: 121.9 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2683, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.428e-05/0.2683, allocations: 45.42 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2684, allocations: 130.7 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.2689, allocations: 0.5003 MB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.2689, allocations: 25.7 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.269, allocations: 171.8 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.269, allocations: 8 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.269, allocations: 13.7 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.2691, allocations: 342.8 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.2692, allocations: 43.97 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.361e-05/0.2693, allocations: 98.77 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2694, allocations: 122.7 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2694, allocations: 7.938 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000248/0.2697, allocations: 189.1 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2697, allocations: 11.94 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2697, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/0.2697, allocations: 4 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.2698, allocations: 23.92 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2698, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.2699, allocations: 43.84 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2699, allocations: 11.98 kB / 1.065 GB, free: 14.49 MB / 0.8262 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.0001308/0.2701, allocations: 245.1 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.2701, allocations: 128.6 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.2702, allocations: 134.8 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-05/0.2703, allocations: 176.3 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.794e-05/0.2703, allocations: 188.2 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/0.2704, allocations: 180.2 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.2706, allocations: 497 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/0.2706, allocations: 101 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.2707, allocations: 101 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.828e-05/0.2707, allocations: 192.2 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.2708, allocations: 184.3 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.521e-05/0.2708, allocations: 184.2 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.264e-05/0.2709, allocations: 180.2 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.271, allocations: 323.7 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2711, allocations: 237.8 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.2712, allocations: 184.2 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-05/0.2713, allocations: 105 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.2714, allocations: 180.2 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.2714, allocations: 109 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003188/0.2717, allocations: 371 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2717, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002476/0.272, allocations: 24 kB / 1.069 GB, free: 10.33 MB / 0.8262 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.0003394/0.2723, allocations: 0.8356 MB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.2724, allocations: 72.02 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2724, allocations: 0 / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2724, allocations: 0 / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.2729, allocations: 0.5485 MB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.2757, allocations: 3.334 MB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2759, allocations: 0.7713 MB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.381e-05/0.276, allocations: 49.52 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.2761, allocations: 63.42 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2761, allocations: 0 / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.86/1.136, allocations: 4.254 MB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/1.136, allocations: 209.8 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.709, allocations: 0 / 1.078 GB, free: 108 kB / 0.8262 GB (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 --timeout=50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches