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.001595/0.001595, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002034/0.002034, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 3.268/3.268, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 60.94 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.38, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.003094/0.3831, allocations: 0.7608 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3848, allocations: 0.851 MB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.3849, allocations: 4 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.3852, allocations: 59.8 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.3853, allocations: 35.83 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.3854, allocations: 23.97 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3856, allocations: 87.69 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3857, allocations: 19.98 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3858, allocations: 39.89 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.386, allocations: 83.72 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.3861, allocations: 8 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.863e-05/0.3861, allocations: 8 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.823e-05/0.3862, allocations: 43.89 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.3863, allocations: 31.8 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3865, allocations: 131.7 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3865, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3865, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.3866, allocations: 0 / 1.366 GB, free: 11.87 MB / 1.061 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.001157/0.3877, allocations: 385.7 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3878, allocations: 16.03 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.3878, allocations: 34.75 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.3879, allocations: 12.89 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3882, allocations: 143.5 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3882, allocations: 384 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.3882, allocations: 12.31 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/0.3889, allocations: 147.8 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3889, allocations: 3.938 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3889, allocations: 12 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3889, allocations: 3.984 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009501/0.3899, allocations: 163.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.3913, allocations: 479.8 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.392, allocations: 157.1 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.3925, allocations: 85.73 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3925, allocations: 7.938 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.3926, allocations: 38.56 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/0.3926, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001594/0.3942, allocations: 285.3 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.3943, allocations: 85.11 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.3945, allocations: 164.4 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3945, allocations: 25.7 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3946, allocations: 100.1 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.3947, allocations: 31.73 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.3948, allocations: 21.72 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.395, allocations: 326.8 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.3955, allocations: 79.92 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.3959, allocations: 93.64 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.3968, allocations: 173.5 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3968, allocations: 0 / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009985/0.3978, allocations: 205.4 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3978, allocations: 8 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3978, allocations: 0 / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3979, allocations: 0 / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.3983, allocations: 43.89 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3983, allocations: 7.938 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.3985, allocations: 23.97 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3985, allocations: 480 / 1.369 GB, free: 8.328 MB / 1.061 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 0.0001861/0.3987, allocations: 133.8 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.3988, allocations: 11.91 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.403e-05/0.3989, allocations: 20.33 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.3989, allocations: 4 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3989, allocations: 3.984 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3989, allocations: 0 / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.3994, allocations: 196.6 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3994, allocations: 0 / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3997, allocations: 31.91 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.3997, allocations: 4 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.3997, allocations: 0 / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.3997, allocations: 3.984 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3997, allocations: 0 / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.4009, allocations: 382.6 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.4009, allocations: 11.91 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.4009, allocations: 4 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.4013, allocations: 27.89 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/0.4014, allocations: 11.98 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4014, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000191/0.4016, allocations: 128.7 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4016, allocations: 7.938 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005333/0.4022, allocations: 16 kB / 1.37 GB, free: 7.27 MB / 1.061 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.001658/0.4038, allocations: 0.9069 MB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.4049, allocations: 167.8 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4049, allocations: 0 / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.4054, allocations: 91.84 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.4061, allocations: 12.31 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.411, allocations: 1.984 MB / 1.373 GB, free: 4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.4112, allocations: 104.2 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.4114, allocations: 27.97 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.4115, allocations: 31.42 kB / 1.373 GB, free: 3.816 MB / 1.061 GB Notification: Performance of SimCode: time 8.81e-07/0.4115, allocations: 3.938 kB / 1.373 GB, free: 3.812 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/0.4521, allocations: 3.265 MB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.85, allocations: 0 / 1.376 GB, free: 0.6875 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 840.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.645797439850867]