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.0008891/0.0008891, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005132/0.006021, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001029/0.001029, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002439, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.943/0.943, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09533/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.432/2.432, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2609/2.693, allocations: 146 MB / 0.8176 GB, free: 3.848 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.904e-06/1.904e-06, allocations: 0 / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.237e-05, allocations: 6.25 kB / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00159/0.001612, allocations: 0.8159 MB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.002441, allocations: 0.8819 MB / 0.8207 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.002487, allocations: 0 / 0.8207 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.002632, allocations: 63.73 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.002692, allocations: 39.81 kB / 0.8207 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.473e-05/0.002756, allocations: 15.98 kB / 0.8208 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.002877, allocations: 95.7 kB / 0.8209 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.002987, allocations: 19.95 kB / 0.8209 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006138/0.009126, allocations: 67.88 kB / 0.8209 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.009258, allocations: 71.84 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.009286, allocations: 8 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.009303, allocations: 8 kB / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.009355, allocations: 27.92 kB / 0.8211 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.009389, allocations: 19.94 kB / 0.8211 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.009515, allocations: 79.62 kB / 0.8211 GB, free: 224 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.009528, allocations: 0 / 0.8211 GB, free: 224 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.02e-07/0.009529, allocations: 0 / 0.8211 GB, free: 224 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.009541, allocations: 4 kB / 0.8211 GB, free: 220 kB / 0.7917 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.000506/0.01005, allocations: 340 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.01008, allocations: 11.97 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.01012, allocations: 12.92 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.01027, allocations: 141.6 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.01028, allocations: 384 / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.01029, allocations: 8.375 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.01049, allocations: 115.4 kB / 0.8218 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.01049, allocations: 192 / 0.8218 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.01051, allocations: 4.375 kB / 0.8218 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.01051, allocations: 4.375 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/0.01057, allocations: 25.58 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.01094, allocations: 312.8 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.0111, allocations: 150.8 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.01113, allocations: 17.66 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.01114, allocations: 8 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.01116, allocations: 34.56 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.01117, allocations: 4 kB / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001782/0.01134, allocations: 69.62 kB / 0.8224 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.01138, allocations: 81.11 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.0115, allocations: 152.8 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.01151, allocations: 29.69 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.01155, allocations: 88.12 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.01158, allocations: 31.73 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.01162, allocations: 25.7 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.0117, allocations: 322.8 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.01173, allocations: 14.77 kB / 0.8231 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.01177, allocations: 29.69 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.422e-05/0.01183, allocations: 46.48 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01183, allocations: 0 / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00311/0.01494, allocations: 71.27 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01496, allocations: 4 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01496, allocations: 3.938 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01498, allocations: 0 / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.01509, allocations: 23.98 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.01509, allocations: 0 / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.01514, allocations: 19.98 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.01515, allocations: 0 / 0.8233 GB, free: 13.84 MB / 0.8073 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 6.655e-05/0.01521, allocations: 116.7 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.01526, allocations: 7.984 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.01547, allocations: 20.28 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01547, allocations: 0 / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01547, allocations: 4 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01548, allocations: 7.922 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01566, allocations: 93.81 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01566, allocations: 8 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.01574, allocations: 19.98 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.01575, allocations: 11.89 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01575, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01576, allocations: 7.984 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01576, allocations: 3.938 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01576, allocations: 0 / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.01596, allocations: 329.6 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.01597, allocations: 4 kB / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.01607, allocations: 7.984 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.01612, allocations: 19.92 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.01612, allocations: 0 / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.01616, allocations: 39.89 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01616, allocations: 0 / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002196/0.01638, allocations: 16 kB / 0.8239 GB, free: 13.09 MB / 0.8073 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.0001082/0.01649, allocations: 84.41 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.01659, allocations: 32.78 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.0166, allocations: 0 / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.01665, allocations: 24.8 kB / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.01696, allocations: 110.3 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.01752, allocations: 248.5 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.532e-05/0.01757, allocations: 71.33 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.01761, allocations: 0.6562 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.01769, allocations: 63.38 kB / 0.8245 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.01769, allocations: 3.938 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.009233/0.02693, allocations: 1.19 MB / 0.8257 GB, free: 11.2 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.155732402577996]