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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 71.91 kB / 1.104 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9744/0.9772, allocations: 168.7 MB / 1.269 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001985/0.9792, allocations: 0.7784 MB / 1.27 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.98, allocations: 0.827 MB / 1.27 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.9801, allocations: 4.812 kB / 1.27 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.9803, allocations: 57.73 kB / 1.27 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.9803, allocations: 40.42 kB / 1.27 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.644e-05/0.9804, allocations: 16.94 kB / 1.27 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.9805, allocations: 89 kB / 1.271 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.9806, allocations: 19.27 kB / 1.271 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.9807, allocations: 46.31 kB / 1.271 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.9809, allocations: 88.45 kB / 1.271 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.9809, allocations: 8.344 kB / 1.271 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.9809, allocations: 8.031 kB / 1.271 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.981, allocations: 36.72 kB / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.981, allocations: 40.69 kB / 1.271 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.9812, allocations: 118.5 kB / 1.271 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.9812, allocations: 0 / 1.271 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9812, allocations: 0.7969 kB / 1.271 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.9812, allocations: 0.9062 kB / 1.271 GB, free: 6.262 MB / 0.9981 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.0007061/0.9819, allocations: 481 kB / 1.271 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.982, allocations: 9.562 kB / 1.271 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.982, allocations: 34.25 kB / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.982, allocations: 10.48 kB / 1.271 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.9822, allocations: 214.9 kB / 1.272 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.9822, allocations: 2.5 kB / 1.272 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.9822, allocations: 8.578 kB / 1.272 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.9826, allocations: 155.2 kB / 1.272 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.9826, allocations: 4.75 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.9826, allocations: 0.8125 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9826, allocations: 1.688 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.9832, allocations: 174.9 kB / 1.272 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.984, allocations: 0.502 MB / 1.272 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.9844, allocations: 153.5 kB / 1.273 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.9846, allocations: 91.7 kB / 1.273 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.9846, allocations: 4.844 kB / 1.273 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.9847, allocations: 39 kB / 1.273 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.9847, allocations: 0 / 1.273 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0008594/0.9855, allocations: 287.5 kB / 1.273 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.9856, allocations: 79.17 kB / 1.273 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.9857, allocations: 160.7 kB / 1.273 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.9857, allocations: 28.88 kB / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.9857, allocations: 108 kB / 1.273 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.9858, allocations: 29.45 kB / 1.273 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.9858, allocations: 24.78 kB / 1.273 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.9858, allocations: 326.5 kB / 1.274 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.9861, allocations: 79.86 kB / 1.274 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.9863, allocations: 89.75 kB / 1.274 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.9868, allocations: 174.8 kB / 1.274 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9868, allocations: 3.938 kB / 1.274 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005565/0.9874, allocations: 213.1 kB / 1.274 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9874, allocations: 7.375 kB / 1.274 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9874, allocations: 1.125 kB / 1.274 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9874, allocations: 3.984 kB / 1.274 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.9876, allocations: 36.97 kB / 1.274 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9876, allocations: 0.9062 kB / 1.274 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.9878, allocations: 33.7 kB / 1.274 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.9878, allocations: 1.719 kB / 1.274 GB, free: 3.922 MB / 0.9981 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 7.715e-05/0.9878, allocations: 128.1 kB / 1.274 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.9879, allocations: 9.047 kB / 1.274 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.9879, allocations: 22.62 kB / 1.274 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.9879, allocations: 0.7812 kB / 1.274 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9879, allocations: 1.062 kB / 1.274 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9879, allocations: 2.656 kB / 1.274 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.9882, allocations: 230 kB / 1.275 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.9882, allocations: 0.6094 kB / 1.275 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.9884, allocations: 33.77 kB / 1.275 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.9884, allocations: 1.406 kB / 1.275 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.9884, allocations: 4.625 kB / 1.275 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.9884, allocations: 2.297 kB / 1.275 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9884, allocations: 0.6875 kB / 1.275 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.989, allocations: 378.6 kB / 1.275 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.989, allocations: 90 kB / 1.275 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.989, allocations: 5.656 kB / 1.275 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.9892, allocations: 31.05 kB / 1.275 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.9893, allocations: 7.078 kB / 1.275 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.9893, allocations: 2 kB / 1.275 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.9893, allocations: 125.9 kB / 1.275 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9893, allocations: 0 / 1.275 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002966/0.9896, allocations: 23.78 kB / 1.275 GB, free: 3.098 MB / 0.9981 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.0007678/0.9904, allocations: 0.9141 MB / 1.276 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005447/0.991, allocations: 170 kB / 1.276 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.991, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.9912, allocations: 90.77 kB / 1.277 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.9916, allocations: 18.27 kB / 1.277 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.9943, allocations: 1.976 MB / 1.278 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.9946, allocations: 0.7113 MB / 1.279 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.965e-05/0.9947, allocations: 30.73 kB / 1.279 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.9948, allocations: 34.61 kB / 1.279 GB, free: 16.06 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.9948, allocations: 0 / 1.279 GB, free: 16.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/1.02, allocations: 2.717 MB / 1.282 GB, free: 15.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/9.154, allocations: 15.91 kB / 1.282 GB, free: 15.58 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.538467479869723]