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.001402/0.001402, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001818/0.001818, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.9446/0.9446, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.585e-06/2.585e-06, allocations: 0 / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.223e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001389/0.001411, allocations: 0.7728 MB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008105/0.002222, allocations: 0.8741 MB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.002274, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.002457, allocations: 55.81 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.384e-05/0.002511, allocations: 43.69 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.989e-05/0.002581, allocations: 19.97 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.00268, allocations: 95.75 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.00278, allocations: 15.97 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.002858, allocations: 47.89 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.002974, allocations: 79.83 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.003, allocations: 8 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.003011, allocations: 8 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.003061, allocations: 31.91 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.003094, allocations: 31.91 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003207, allocations: 87.7 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003209, allocations: 4 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00321, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.003213, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 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.0003707/0.003584, allocations: 324.4 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.003616, allocations: 12.56 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.003647, allocations: 12.92 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.003768, allocations: 149.5 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.003777, allocations: 384 / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.003791, allocations: 8.375 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.003956, allocations: 111.4 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003962, allocations: 192 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.00397, allocations: 384 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.003976, allocations: 8.312 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.277e-05/0.004029, allocations: 33.58 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.004364, allocations: 316.9 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.004485, allocations: 146.6 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.004517, allocations: 25.89 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.004526, allocations: 0 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.004549, allocations: 38.5 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.00455, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001521/0.004702, allocations: 73.55 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.00474, allocations: 77.11 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.004814, allocations: 154.1 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.004825, allocations: 29.7 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.004937, allocations: 100 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.004962, allocations: 23.75 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.004995, allocations: 29.69 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.005069, allocations: 322.8 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.005092, allocations: 6.828 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.00512, allocations: 21.72 kB / 0.8427 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/0.005173, allocations: 50.47 kB / 0.8427 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005175, allocations: 0 / 0.8427 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.967e-05/0.005255, allocations: 71.25 kB / 0.8428 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.005265, allocations: 4 kB / 0.8428 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.005271, allocations: 3.938 kB / 0.8428 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005284, allocations: 4 kB / 0.8428 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.005373, allocations: 27.92 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.005376, allocations: 0 / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.749e-05/0.005414, allocations: 15.98 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.005419, allocations: 0 / 0.8429 GB, free: 9.551 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 5.695e-05/0.005476, allocations: 116.7 kB / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.005501, allocations: 4 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.00553, allocations: 24.27 kB / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005531, allocations: 0 / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.005533, allocations: 0 / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.005536, allocations: 4 kB / 0.843 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.005668, allocations: 101.8 kB / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.005669, allocations: 0 / 0.8431 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.005721, allocations: 19.98 kB / 0.8431 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005723, allocations: 7.938 kB / 0.8431 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.005729, allocations: 0 / 0.8431 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.005729, allocations: 160 / 0.8431 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.005731, allocations: 3.938 kB / 0.8431 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.005877, allocations: 325.4 kB / 0.8434 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.005888, allocations: 7.953 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.005899, allocations: 0 / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.005967, allocations: 15.98 kB / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.006008, allocations: 15.92 kB / 0.8435 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.006014, allocations: 4 kB / 0.8435 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.006043, allocations: 44.3 kB / 0.8435 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006043, allocations: 0 / 0.8435 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001499/0.006193, allocations: 19.94 kB / 0.8436 GB, free: 8.801 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 8.77e-05/0.00628, allocations: 80.36 kB / 0.8436 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.006367, allocations: 32.84 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.00637, allocations: 0 / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.006402, allocations: 28.78 kB / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.006602, allocations: 12 kB / 0.8437 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.006934, allocations: 236.5 kB / 0.8439 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.006983, allocations: 79.2 kB / 0.844 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.007016, allocations: 8 kB / 0.844 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.007079, allocations: 55.38 kB / 0.8441 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.00708, allocations: 0 / 0.8441 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of Templates: time 0.002629/0.009709, allocations: 1.162 MB / 0.8452 GB, free: 7.07 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 -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.242486547213048]