Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",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.0007907/0.0007908, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004225/0.004225, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.000295, allocations: 18.91 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2578, 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.MatrixGain): time 0.0006824/0.2585, allocations: 0.4923 MB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.2593, allocations: 0.8351 MB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.2593, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.2595, allocations: 55.8 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.2595, allocations: 27.89 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.523e-05/0.2596, allocations: 19.98 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.62e-05/0.2597, allocations: 87.75 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.026e-05/0.2597, allocations: 15.98 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.2598, allocations: 39.83 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2599, allocations: 75.8 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2599, allocations: 4 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.26, allocations: 4 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.26, allocations: 35.89 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.2601, allocations: 61.44 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.675e-05/0.2602, allocations: 107.6 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.2602, allocations: 0 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.82e-07/0.2602, allocations: 0 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.535e-06/0.2602, allocations: 0 / 1.061 GB, free: 2.969 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005767/0.2608, allocations: 467.3 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.515e-05/0.2608, allocations: 11.97 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.2608, allocations: 42.75 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.2609, allocations: 16.69 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.261, allocations: 206.1 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.261, allocations: 4.375 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.261, allocations: 4.375 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.2614, allocations: 167.8 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-06/0.2614, allocations: 3.938 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2614, allocations: 8 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.2614, allocations: 3.938 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.262, allocations: 203.8 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.2627, allocations: 0.5125 MB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.2631, allocations: 181.1 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.2633, allocations: 113.7 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.2634, allocations: 4 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2634, allocations: 34.5 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2634, allocations: 0 / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0008572/0.2642, allocations: 329.8 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.2643, allocations: 89.03 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2644, allocations: 162.9 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2644, allocations: 25.7 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2645, allocations: 108.1 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2645, allocations: 23.56 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.2645, allocations: 17.72 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.2646, allocations: 326.8 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.2649, allocations: 91.92 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.2652, allocations: 109.6 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.2657, allocations: 209.5 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2657, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000569/0.2663, allocations: 241.4 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.2663, allocations: 9.562 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.2663, allocations: 0 / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.944e-06/0.2663, allocations: 4 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.2665, allocations: 39.95 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.2665, allocations: 3.938 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.2667, allocations: 51.8 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2667, allocations: 3.938 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.324e-05/0.2668, allocations: 133.8 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.2668, allocations: 7.906 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.2669, allocations: 16.25 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2669, allocations: 4 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.2669, allocations: 0 / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2669, allocations: 4 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.2671, allocations: 221.5 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2671, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.2673, allocations: 39.95 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2673, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2674, allocations: 8 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2674, allocations: 0 / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2674, allocations: 4 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.268, allocations: 418.3 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.268, allocations: 88.95 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.268, allocations: 8 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.2683, allocations: 31.95 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.2683, allocations: 7.984 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2683, allocations: 4 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.307e-05/0.2684, allocations: 123.6 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2684, allocations: 0 / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000267/0.2687, allocations: 24 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0008584/0.2695, allocations: 0.9457 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.2701, allocations: 199.8 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2701, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.2704, allocations: 108.3 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2707, allocations: 15.92 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.2732, allocations: 2.084 MB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2734, allocations: 0.7119 MB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.309e-05/0.2735, allocations: 27.97 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.2735, allocations: 35.42 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2736, allocations: 0 / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.2837, allocations: 2.273 MB / 1.072 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.2839, allocations: 207 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/1.792, allocations: 0 / 1.072 GB, free: 7.066 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches