Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.008049/0.008049, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001966/0.001966, allocations: 195.6 kB / 16.67 MB, free: 5.93 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.882/1.882, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.994/2.994, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 75.89 kB / 0.9505 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002684/1.061, allocations: 0.7702 MB / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001307/1.062, allocations: 0.8245 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/1.062, allocations: 2.25 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002807/1.063, allocations: 55.94 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/1.063, allocations: 35.98 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/1.063, allocations: 21.64 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/1.063, allocations: 88.69 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/1.063, allocations: 25.92 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/1.064, allocations: 42.08 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/1.064, allocations: 83.94 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/1.064, allocations: 8.031 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/1.064, allocations: 11.59 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/1.064, allocations: 32.47 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/1.064, allocations: 48.92 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/1.064, allocations: 113.3 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.064, allocations: 0 / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/1.064, allocations: 0 / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.293e-06/1.064, allocations: 0 / 1.09 GB, free: 3.914 MB / 0.8575 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.001035/1.065, allocations: 463.9 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.065, allocations: 9.531 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/1.066, allocations: 39 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/1.066, allocations: 14.16 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/1.066, allocations: 209 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/1.066, allocations: 6.938 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/1.066, allocations: 3.594 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/1.067, allocations: 151.9 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.067, allocations: 5.25 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/1.067, allocations: 0.5625 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/1.067, allocations: 1.375 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/1.067, allocations: 175.2 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/1.069, allocations: 0.4936 MB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/1.069, allocations: 175.1 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/1.07, allocations: 93.62 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/1.07, allocations: 2.188 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/1.07, allocations: 36.97 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/1.07, allocations: 3.938 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001335/1.071, allocations: 280 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.071, allocations: 83.39 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/1.071, allocations: 165.2 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/1.071, allocations: 31.5 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/1.071, allocations: 104.1 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/1.071, allocations: 25.7 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/1.071, allocations: 20.81 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/1.072, allocations: 330.4 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/1.072, allocations: 75.47 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/1.072, allocations: 93 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/1.073, allocations: 176.8 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.073, allocations: 0 / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008269/1.074, allocations: 208.8 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.074, allocations: 5.75 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.074, allocations: 0 / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.074, allocations: 2.344 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/1.074, allocations: 33.55 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.074, allocations: 4.688 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/1.075, allocations: 32 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/1.075, allocations: 6.75 kB / 1.093 GB, free: 1.598 MB / 0.8575 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 0.0001434/1.075, allocations: 131.2 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/1.075, allocations: 9.797 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/1.075, allocations: 18.38 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.075, allocations: 2 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.075, allocations: 0.7812 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/1.075, allocations: 1.391 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/1.075, allocations: 226.5 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.075, allocations: 4.656 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/1.076, allocations: 38.05 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.076, allocations: 1.859 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/1.076, allocations: 4.656 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.076, allocations: 5.625 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.076, allocations: 0.5156 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/1.077, allocations: 382.7 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/1.077, allocations: 89.11 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/1.077, allocations: 1.953 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/1.077, allocations: 27.55 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/1.077, allocations: 10.7 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/1.077, allocations: 10.5 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001283/1.077, allocations: 118.8 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.077, allocations: 0 / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004423/1.078, allocations: 20.28 kB / 1.094 GB, free: 0.7695 MB / 0.8575 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.001289/1.079, allocations: 0.9162 MB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008607/1.08, allocations: 177 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.08, allocations: 0 / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/1.08, allocations: 85.44 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/1.081, allocations: 12.03 kB / 1.095 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/1.085, allocations: 1.979 MB / 1.097 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.085, allocations: 0.707 MB / 1.098 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001581/1.086, allocations: 30.8 kB / 1.098 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/1.086, allocations: 34.58 kB / 1.098 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of SimCode: time 1.392e-06/1.086, allocations: 1.125 kB / 1.098 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.779/2.864, allocations: 2.69 MB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.79/20.66, allocations: 14.81 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches