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.001401/0.001401, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001564/0.001564, allocations: 193.4 kB / 16.14 MB, free: 6.645 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.482/2.482, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 72.94 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 157.4 MB / 1.052 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001884/0.3138, allocations: 0.8311 MB / 1.053 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.3147, allocations: 0.8391 MB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.3147, allocations: 0 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.3149, allocations: 51.86 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.315, allocations: 35.77 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.19e-05/0.315, allocations: 19.97 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3152, allocations: 75.83 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3153, allocations: 23.98 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.3154, allocations: 47.77 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3155, allocations: 71.8 kB / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.3155, allocations: 4 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.3155, allocations: 8 kB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.3156, allocations: 35.89 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.3157, allocations: 43.73 kB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.3158, allocations: 111.6 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3158, allocations: 0 / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3158, allocations: 0 / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3158, allocations: 0 / 1.054 GB, free: 5.965 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.0006874/0.3165, allocations: 459.2 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3166, allocations: 19.95 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.3166, allocations: 38.75 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.3166, allocations: 12.75 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3168, allocations: 206.1 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3168, allocations: 8.375 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.3168, allocations: 4.312 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.3172, allocations: 163.7 kB / 1.055 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3172, allocations: 3.938 kB / 1.055 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3173, allocations: 0 / 1.055 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3173, allocations: 7.922 kB / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.3178, allocations: 167.8 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.3185, allocations: 0.5008 MB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.3189, allocations: 165.1 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.3191, allocations: 89.73 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3192, allocations: 7.984 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3192, allocations: 38.56 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3192, allocations: 0 / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0007869/0.32, allocations: 277.3 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.32, allocations: 85.11 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3201, allocations: 162.9 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3202, allocations: 29.7 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.3202, allocations: 96.14 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3203, allocations: 35.53 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.3203, allocations: 17.72 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.3204, allocations: 326.8 kB / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.3207, allocations: 79.92 kB / 1.057 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.3209, allocations: 97.58 kB / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.3213, allocations: 173.6 kB / 1.057 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3213, allocations: 3.984 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004862/0.3218, allocations: 201.4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3218, allocations: 4 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3218, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3219, allocations: 4 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.3221, allocations: 39.95 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3221, allocations: 4 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3222, allocations: 31.8 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3222, allocations: 4.469 kB / 1.058 GB, free: 2.191 MB / 0.8106 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.246e-05/0.3223, allocations: 133.7 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.3224, allocations: 15.89 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.3224, allocations: 16.25 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3224, allocations: 0 / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3224, allocations: 3.984 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3224, allocations: 3.938 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.3227, allocations: 225.5 kB / 1.058 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3227, allocations: 0 / 1.058 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3229, allocations: 39.95 kB / 1.058 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3229, allocations: 0 / 1.058 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3229, allocations: 4 kB / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3229, allocations: 0 / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3229, allocations: 0 / 1.058 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.3234, allocations: 386.4 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.3235, allocations: 92.89 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3235, allocations: 4 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.3237, allocations: 27.95 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.3238, allocations: 11.98 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3238, allocations: 0 / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.699e-05/0.3239, allocations: 126.5 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3239, allocations: 0 / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002711/0.3241, allocations: 20 kB / 1.059 GB, free: 1.008 MB / 0.8106 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.0007944/0.3249, allocations: 0.9106 MB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.3255, allocations: 167.8 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3255, allocations: 4 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.3257, allocations: 87.86 kB / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.3261, allocations: 23.58 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.3284, allocations: 1.985 MB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3287, allocations: 0.7182 MB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.065e-05/0.3288, allocations: 27.97 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.3288, allocations: 31.42 kB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.3288, allocations: 0 / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.788/1.117, allocations: 2.346 MB / 1.065 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.117, allocations: 216.5 kB / 1.065 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.749, allocations: 4 kB / 1.065 GB, free: 10.42 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