Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 97.56 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.01089/0.01089, allocations: 169.6 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.592/2.592, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004533, allocations: 16 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/0.8345, allocations: 142.4 MB / 0.9551 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001299/0.8359, allocations: 478.3 kB / 0.9555 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003111/0.8362, allocations: 55.09 kB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.8363, allocations: 2.156 kB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.8365, allocations: 13.2 kB / 0.9556 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.8366, allocations: 20.12 kB / 0.9556 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.8369, allocations: 26.45 kB / 0.9556 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.8371, allocations: 121.4 kB / 0.9557 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.8375, allocations: 156.3 kB / 0.9559 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.8376, allocations: 31.41 kB / 0.9559 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.8377, allocations: 47.06 kB / 0.956 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.8377, allocations: 3.156 kB / 0.956 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.8378, allocations: 7 kB / 0.956 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.8379, allocations: 36.86 kB / 0.956 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.355e-05/0.838, allocations: 93.48 kB / 0.9561 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.8383, allocations: 212.6 kB / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.8383, allocations: 0 / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8383, allocations: 5.062 kB / 0.9563 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.8383, allocations: 0 / 0.9563 GB, free: 6.816 MB / 0.7169 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.0007153/0.839, allocations: 460 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.8391, allocations: 8.906 kB / 0.9568 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.8392, allocations: 31.94 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.8396, allocations: 258.4 kB / 0.957 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.8396, allocations: 11.31 kB / 0.957 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.8397, allocations: 20.55 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.8404, allocations: 336.3 kB / 0.9574 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.8405, allocations: 9.125 kB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.8405, allocations: 9.219 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/0.8406, allocations: 19.08 kB / 0.9574 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.841, allocations: 265.2 kB / 0.9577 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.8421, allocations: 1.088 MB / 0.9587 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.8422, allocations: 174.5 kB / 0.9589 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.8423, allocations: 80.14 kB / 0.959 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.8423, allocations: 76.66 kB / 0.9591 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.8423, allocations: 106 kB / 0.9592 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.8423, allocations: 1.375 kB / 0.9592 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.714e-05/0.8424, allocations: 50.98 kB / 0.9592 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.8425, allocations: 136 kB / 0.9593 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.843, allocations: 0.498 MB / 0.9598 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.843, allocations: 26.98 kB / 0.9598 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.8431, allocations: 175.6 kB / 0.96 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.138e-06/0.8432, allocations: 1.625 kB / 0.96 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.8432, allocations: 11.06 kB / 0.96 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.8433, allocations: 341.1 kB / 0.9603 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.8434, allocations: 50.42 kB / 0.9604 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.8435, allocations: 98.08 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.8436, allocations: 124.5 kB / 0.9606 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8436, allocations: 1.156 kB / 0.9606 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003807/0.844, allocations: 186.7 kB / 0.9608 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.8441, allocations: 17.53 kB / 0.9608 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.8441, allocations: 1.906 kB / 0.9608 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8441, allocations: 3.062 kB / 0.9608 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.8442, allocations: 19.48 kB / 0.9608 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.8443, allocations: 2.875 kB / 0.9608 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.8444, allocations: 34.62 kB / 0.9609 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.8444, allocations: 6.25 kB / 0.9609 GB, free: 3.141 MB / 0.7169 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.0002038/0.8446, allocations: 261.7 kB / 0.9611 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/0.8447, allocations: 134.8 kB / 0.9612 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.211e-05/0.8448, allocations: 132.1 kB / 0.9614 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.51e-05/0.8449, allocations: 181.2 kB / 0.9615 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.032e-05/0.8449, allocations: 181.2 kB / 0.9617 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/0.845, allocations: 185.2 kB / 0.9619 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.8453, allocations: 487.3 kB / 0.9624 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/0.8453, allocations: 113.8 kB / 0.9625 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.8454, allocations: 106 kB / 0.9626 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.033e-05/0.8454, allocations: 185.2 kB / 0.9627 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.8454, allocations: 181.4 kB / 0.9629 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-05/0.8455, allocations: 176.3 kB / 0.9631 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.109e-05/0.8455, allocations: 189.3 kB / 0.9633 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.8457, allocations: 321.5 kB / 0.9636 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.8458, allocations: 228.5 kB / 0.9638 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.846, allocations: 189.1 kB / 0.964 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.8461, allocations: 105.1 kB / 0.9641 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.8462, allocations: 185.3 kB / 0.9643 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.8463, allocations: 105 kB / 0.9644 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000532/0.8469, allocations: 367.1 kB / 0.9647 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8469, allocations: 0 / 0.9647 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003165/0.8472, allocations: 28.28 kB / 0.9647 GB, free: 15.31 MB / 0.7325 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.0001875/0.8474, allocations: 178 kB / 0.9649 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.8476, allocations: 72.2 kB / 0.965 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8476, allocations: 0.9688 kB / 0.965 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.8476, allocations: 0 / 0.965 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.8482, allocations: 0.5445 MB / 0.9655 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.849, allocations: 0.5137 MB / 0.966 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.8494, allocations: 0.7763 MB / 0.9668 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.8496, allocations: 46.56 kB / 0.9668 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.8496, allocations: 21.66 kB / 0.9668 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.8496, allocations: 0 / 0.9668 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.005025/0.8546, allocations: 1.617 MB / 0.9684 GB, free: 12.67 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches