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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9451/0.9451, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.44/2.44, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.932e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001957/0.001986, allocations: 0.7727 MB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003132, allocations: 0.8703 MB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.003216, allocations: 3.938 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.003446, allocations: 55.81 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.003522, allocations: 47.75 kB / 0.8915 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 7.747e-05/0.0036, allocations: 15.97 kB / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003729, allocations: 87.7 kB / 0.8916 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.003855, allocations: 19.97 kB / 0.8917 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.003965, allocations: 51.89 kB / 0.8917 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.004121, allocations: 75.89 kB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.00415, allocations: 8 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.004167, allocations: 12 kB / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.004234, allocations: 35.84 kB / 0.8918 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.004285, allocations: 31.91 kB / 0.8919 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.004439, allocations: 83.77 kB / 0.8919 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004441, allocations: 0 / 0.8919 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004442, allocations: 0 / 0.8919 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004446, allocations: 0 / 0.8919 GB, free: 7.504 MB / 0.8542 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.0005821/0.005028, allocations: 463.9 kB / 0.8924 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.005085, allocations: 12.62 kB / 0.8924 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.00514, allocations: 16.84 kB / 0.8924 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.005323, allocations: 151.9 kB / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.005338, allocations: 4.375 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.005353, allocations: 4.375 kB / 0.8926 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.005595, allocations: 102.3 kB / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.005606, allocations: 8.125 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.005618, allocations: 384 / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.005627, allocations: 4.375 kB / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.005696, allocations: 27.91 kB / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.006203, allocations: 455.2 kB / 0.8931 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.00634, allocations: 74.19 kB / 0.8932 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.006384, allocations: 23.38 kB / 0.8932 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.006397, allocations: 7.938 kB / 0.8932 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.006426, allocations: 41.33 kB / 0.8933 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.674e-06/0.006428, allocations: 0 / 0.8933 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0002276/0.006656, allocations: 85.55 kB / 0.8934 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.006694, allocations: 77.11 kB / 0.8934 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.006818, allocations: 217.8 kB / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.006834, allocations: 25.7 kB / 0.8937 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.006905, allocations: 154.8 kB / 0.8938 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.006936, allocations: 27.78 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.006985, allocations: 27.38 kB / 0.8939 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.00714, allocations: 0.5001 MB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.007169, allocations: 4 kB / 0.8944 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.007211, allocations: 27.36 kB / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.345e-05/0.007284, allocations: 43.31 kB / 0.8944 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007286, allocations: 0 / 0.8944 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001298/0.007416, allocations: 73.58 kB / 0.8945 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.007433, allocations: 15.94 kB / 0.8945 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007439, allocations: 0 / 0.8945 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.007452, allocations: 0 / 0.8945 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.007565, allocations: 23.92 kB / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.007568, allocations: 0 / 0.8945 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.007624, allocations: 15.92 kB / 0.8945 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.007633, allocations: 4 kB / 0.8945 GB, free: 4.582 MB / 0.8542 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.505e-05/0.007718, allocations: 160.6 kB / 0.8947 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.007764, allocations: 11.95 kB / 0.8947 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.007811, allocations: 24.28 kB / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007813, allocations: 0 / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.007815, allocations: 0 / 0.8947 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.007819, allocations: 3.984 kB / 0.8947 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.00803, allocations: 129.7 kB / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008032, allocations: 0 / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.008115, allocations: 23.92 kB / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.008117, allocations: 0 / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.008125, allocations: 0 / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.008127, allocations: 0 / 0.8949 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.00813, allocations: 11.94 kB / 0.8949 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.008342, allocations: 351 kB / 0.8952 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.008356, allocations: 11.91 kB / 0.8952 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.00837, allocations: 0 / 0.8952 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.008485, allocations: 11.98 kB / 0.8953 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.008532, allocations: 15.92 kB / 0.8953 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.008537, allocations: 0 / 0.8953 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.467e-05/0.008612, allocations: 154.6 kB / 0.8954 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008612, allocations: 3.938 kB / 0.8954 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002577/0.00887, allocations: 20 kB / 0.8954 GB, free: 3.605 MB / 0.8542 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.0001277/0.008998, allocations: 103.2 kB / 0.8955 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.009114, allocations: 39.66 kB / 0.8956 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009116, allocations: 3.938 kB / 0.8956 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.009164, allocations: 27.67 kB / 0.8956 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.009415, allocations: 15.98 kB / 0.8956 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.009741, allocations: 234.3 kB / 0.8958 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.009782, allocations: 67.33 kB / 0.8959 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.00981, allocations: 4 kB / 0.8959 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.009882, allocations: 82.19 kB / 0.896 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.009883, allocations: 0 / 0.896 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of Templates: time 0.00273/0.01261, allocations: 1.343 MB / 0.8973 GB, free: 1.637 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.293498733080924]