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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005412/0.005412, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001766/0.001766, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.84 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2553, allocations: 151.6 MB / 1.166 GB, free: 7.191 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001733/0.2571, allocations: 0.745 MB / 1.167 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002155/0.2573, allocations: 59.77 kB / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.2574, allocations: 0 / 1.167 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.2575, allocations: 19.8 kB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.2576, allocations: 15.92 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.2577, allocations: 37.55 kB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.2579, allocations: 115.7 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.2581, allocations: 152.8 kB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.2582, allocations: 67.78 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.054e-05/0.2583, allocations: 71.64 kB / 1.168 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.2583, allocations: 12 kB / 1.168 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.787e-05/0.2584, allocations: 12 kB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.2585, allocations: 55.8 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2586, allocations: 87.45 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.2588, allocations: 243.1 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2588, allocations: 0 / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2588, allocations: 4 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2588, allocations: 0 / 1.168 GB, free: 5.508 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.0005295/0.2594, allocations: 0.4949 MB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.2594, allocations: 8.031 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.2595, allocations: 58.73 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.2595, allocations: 24.78 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.2598, allocations: 265 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2598, allocations: 16.75 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.2599, allocations: 16.38 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.2603, allocations: 352.9 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2603, allocations: 0 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2604, allocations: 4 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.2604, allocations: 23.92 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.2607, allocations: 263.8 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2619, allocations: 1.084 MB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.262, allocations: 177.1 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.262, allocations: 80.14 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.2621, allocations: 79.22 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.2621, allocations: 118 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2621, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.319e-05/0.2622, allocations: 57.45 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.2623, allocations: 126.7 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.2628, allocations: 0.4926 MB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2629, allocations: 25.7 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.263, allocations: 175.8 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.263, allocations: 4 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.2631, allocations: 33.7 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2632, allocations: 338.8 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.2633, allocations: 43.97 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.2634, allocations: 98.83 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2636, allocations: 122.7 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2636, allocations: 0 / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002904/0.2639, allocations: 197.2 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2639, allocations: 14.44 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2639, allocations: 0 / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2639, allocations: 4 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.264, allocations: 23.97 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.264, allocations: 8.188 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.786e-05/0.2641, allocations: 35.77 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2641, allocations: 8 kB / 1.173 GB, free: 396 kB / 0.92 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.0001714/0.2643, allocations: 253 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/0.2644, allocations: 132.7 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.2645, allocations: 138.8 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.482e-05/0.2646, allocations: 176.3 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.829e-05/0.2647, allocations: 184.2 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.522e-05/0.2647, allocations: 180.2 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.2651, allocations: 497.1 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.676e-05/0.2651, allocations: 104.9 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.2652, allocations: 105 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-05/0.2653, allocations: 184.2 kB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.82e-05/0.2653, allocations: 184.2 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-05/0.2654, allocations: 180.2 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.379e-05/0.2655, allocations: 180.2 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.2657, allocations: 323.7 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.2658, allocations: 229.8 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.2659, allocations: 176.5 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.266, allocations: 112.9 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.2661, allocations: 184.3 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.2662, allocations: 101 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003862/0.2666, allocations: 382.8 kB / 1.176 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2666, allocations: 0 / 1.176 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000247/0.2668, allocations: 24 kB / 1.176 GB, free: 12.21 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.0004778/0.2673, allocations: 0.8281 MB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.2675, allocations: 71.89 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2675, allocations: 0 / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.287e-06/0.2675, allocations: 3.938 kB / 1.177 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.268, allocations: 481.1 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.2713, allocations: 3.304 MB / 1.181 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.2717, allocations: 0.7788 MB / 1.182 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.097e-05/0.2717, allocations: 45.53 kB / 1.182 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.2718, allocations: 63.41 kB / 1.182 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2719, allocations: 0 / 1.182 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4011/0.673, allocations: 4.604 MB / 1.186 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.832, allocations: 10.39 kB / 1.186 GB, free: 1.961 MB / 0.9356 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches