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.002088/0.002088, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.00322/0.00322, allocations: 222.9 kB / 22.26 MB, free: 5.125 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.004 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.406/3.406, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002187/0.002187, allocations: 78.39 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3885, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002152/0.3907, allocations: 0.7781 MB / 1.354 GB, free: 7.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3919, allocations: 0.8626 MB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.392, allocations: 3.938 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.3922, allocations: 59.8 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.3922, allocations: 35.81 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.065e-05/0.3923, allocations: 15.98 kB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.3925, allocations: 83.81 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3927, allocations: 23.91 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.3927, allocations: 39.91 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3929, allocations: 83.78 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.3929, allocations: 12 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.393, allocations: 8 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.393, allocations: 43.83 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.3931, allocations: 47.66 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3933, allocations: 119.8 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3933, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3933, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3933, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.045 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.0008586/0.3942, allocations: 393.7 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3942, allocations: 11.97 kB / 1.355 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.3942, allocations: 38.75 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.3943, allocations: 12.84 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.3945, allocations: 146.3 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3945, allocations: 4.375 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.3945, allocations: 8.375 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.395, allocations: 147.9 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.395, allocations: 7.938 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.395, allocations: 4 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.395, allocations: 4 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.3955, allocations: 167.8 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.3965, allocations: 483.9 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.3969, allocations: 165.1 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.3972, allocations: 89.73 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3972, allocations: 7.938 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3973, allocations: 38.55 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.3973, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0009149/0.3982, allocations: 281.3 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.3982, allocations: 85.11 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3984, allocations: 166.2 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3984, allocations: 25.7 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.3985, allocations: 96.14 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3985, allocations: 31.73 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.3986, allocations: 21.72 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3988, allocations: 330.8 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.399, allocations: 75.92 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.3993, allocations: 93.58 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.3998, allocations: 173.9 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3998, allocations: 0 / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005843/0.4004, allocations: 209.4 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4004, allocations: 4 kB / 1.358 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4004, allocations: 4 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4004, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.4006, allocations: 39.95 kB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4006, allocations: 0 / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.4008, allocations: 31.91 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4008, allocations: 4 kB / 1.358 GB, free: 2.621 MB / 1.045 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.0001214/0.4009, allocations: 137.7 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.401, allocations: 11.94 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.401, allocations: 16.34 kB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.401, allocations: 0 / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.401, allocations: 0 / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.401, allocations: 7.938 kB / 1.358 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.4013, allocations: 200.5 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4013, allocations: 4 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.4015, allocations: 39.95 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.4015, allocations: 0 / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4015, allocations: 0 / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.4015, allocations: 4 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4015, allocations: 0 / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.4022, allocations: 386.4 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.4022, allocations: 15.91 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.4023, allocations: 8 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.4025, allocations: 23.95 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.4025, allocations: 15.98 kB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.4025, allocations: 0 / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4026, allocations: 128.1 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4026, allocations: 0 / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002867/0.4029, allocations: 16 kB / 1.359 GB, free: 1.555 MB / 1.045 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.0009881/0.4039, allocations: 0.9077 MB / 1.36 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005921/0.4045, allocations: 175.9 kB / 1.36 GB, free: 460 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4045, allocations: 0 / 1.36 GB, free: 460 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.4048, allocations: 87.86 kB / 1.36 GB, free: 372 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.4051, allocations: 11.98 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.4082, allocations: 1.982 MB / 1.362 GB, free: 14.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.4086, allocations: 0.708 MB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.994e-05/0.4087, allocations: 27.97 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.05e-05/0.4087, allocations: 35.41 kB / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4087, allocations: 0 / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.4394, allocations: 2.83 MB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.72, allocations: 5.062 kB / 1.366 GB, free: 10.78 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.818465366959572]