Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001254/0.001254, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.507/1.507, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 70.84 kB / 1.097 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4262, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002214/0.4285, allocations: 0.7761 MB / 1.263 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4296, allocations: 0.8277 MB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.4296, allocations: 0 / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.4299, allocations: 55.8 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.4299, allocations: 35.83 kB / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.05e-05/0.43, allocations: 23.97 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.4302, allocations: 87.69 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.4303, allocations: 27.97 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.4304, allocations: 39.84 kB / 1.264 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.4306, allocations: 87.77 kB / 1.264 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.4306, allocations: 8 kB / 1.264 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.4306, allocations: 8 kB / 1.264 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.209e-05/0.4307, allocations: 39.89 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.577e-05/0.4308, allocations: 39.73 kB / 1.264 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.431, allocations: 127.4 kB / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4311, allocations: 3.938 kB / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4311, allocations: 0 / 1.264 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.4311, allocations: 0 / 1.264 GB, free: 10.72 MB / 0.9825 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.001111/0.4322, allocations: 462.8 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.4322, allocations: 12.02 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.4323, allocations: 16.89 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.4326, allocations: 198.2 kB / 1.265 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4326, allocations: 12.3 kB / 1.265 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.4326, allocations: 4.375 kB / 1.265 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.4331, allocations: 143.9 kB / 1.265 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4331, allocations: 4.125 kB / 1.265 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.4331, allocations: 7.938 kB / 1.265 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4331, allocations: 7.938 kB / 1.265 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.4337, allocations: 167.8 kB / 1.265 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/0.4347, allocations: 0.5124 MB / 1.266 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.4351, allocations: 153.1 kB / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.4354, allocations: 93.73 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.4354, allocations: 0 / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/0.4355, allocations: 38.48 kB / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4355, allocations: 0 / 1.266 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0009435/0.4364, allocations: 293.3 kB / 1.266 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.4365, allocations: 77.11 kB / 1.266 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.4366, allocations: 164.2 kB / 1.267 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.4367, allocations: 33.7 kB / 1.267 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.4367, allocations: 100.1 kB / 1.267 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.4368, allocations: 31.73 kB / 1.267 GB, free: 8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.4369, allocations: 21.72 kB / 1.267 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.437, allocations: 322.8 kB / 1.267 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.4373, allocations: 75.92 kB / 1.267 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.4375, allocations: 89.64 kB / 1.267 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.438, allocations: 181.4 kB / 1.267 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.438, allocations: 0 / 1.267 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005857/0.4386, allocations: 205.4 kB / 1.268 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4386, allocations: 9.875 kB / 1.268 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4386, allocations: 0 / 1.268 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4387, allocations: 3.938 kB / 1.268 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.4389, allocations: 43.89 kB / 1.268 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.4389, allocations: 0 / 1.268 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.439, allocations: 23.97 kB / 1.268 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.439, allocations: 4 kB / 1.268 GB, free: 7.008 MB / 0.9825 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.0001315/0.4392, allocations: 129.8 kB / 1.268 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.4392, allocations: 11.95 kB / 1.268 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.4393, allocations: 24.23 kB / 1.268 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4393, allocations: 4 kB / 1.268 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4393, allocations: 0 / 1.268 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.4393, allocations: 89.02 kB / 1.268 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.4394, allocations: 4 kB / 1.268 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.4396, allocations: 27.95 kB / 1.268 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.4396, allocations: 11.92 kB / 1.268 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007688/0.4404, allocations: 376.5 kB / 1.268 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007038/0.4411, allocations: 466 kB / 1.269 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002742/0.4414, allocations: 87.91 kB / 1.269 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001106/0.4415, allocations: 121 kB / 1.269 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of Backend: time 5.51e-07/0.4415, allocations: 4 kB / 1.269 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000782/0.4423, allocations: 170.2 kB / 1.269 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0008768/0.4432, allocations: 0.6704 MB / 1.27 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of Templates: time 0.005002/0.4482, allocations: 1.662 MB / 1.271 GB, free: 3.086 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches