Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001551/0.001551, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001485/0.001485, allocations: 215.6 kB / 22.26 MB, free: 5.082 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.347/3.347, allocations: 0.49 GB / 0.7951 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_12_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.002101/0.002101, allocations: 73.06 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3861, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002685/0.3888, allocations: 0.7718 MB / 1.327 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.39, allocations: 0.8704 MB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.3901, allocations: 3.938 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.3903, allocations: 55.81 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.3904, allocations: 43.81 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.529e-05/0.3905, allocations: 19.97 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3907, allocations: 87.77 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3908, allocations: 11.98 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.3909, allocations: 43.89 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.3911, allocations: 87.89 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.3911, allocations: 11.94 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.3911, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.3912, allocations: 35.89 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.3913, allocations: 51.67 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.3914, allocations: 111.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3914, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3914, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3915, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 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.0008975/0.3924, allocations: 393.7 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3924, allocations: 12.03 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.3924, allocations: 34.73 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3925, allocations: 20.84 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.3927, allocations: 142.3 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3927, allocations: 4.375 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.3927, allocations: 4.375 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.3932, allocations: 151.8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3932, allocations: 3.938 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3932, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3932, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.3937, allocations: 175.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.3949, allocations: 487.9 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.3953, allocations: 161 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.3955, allocations: 97.72 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.3956, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3956, allocations: 30.56 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3956, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0008883/0.3965, allocations: 289.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.3965, allocations: 81.09 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3967, allocations: 167.2 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3967, allocations: 33.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.3968, allocations: 104.1 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.3968, allocations: 27.75 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.3969, allocations: 21.72 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.397, allocations: 330.7 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.3973, allocations: 79.86 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.3975, allocations: 93.62 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.398, allocations: 173.6 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.398, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005574/0.3986, allocations: 201.4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3986, allocations: 8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.3986, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3986, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3989, allocations: 39.95 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3989, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.399, allocations: 31.91 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.399, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 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.0001261/0.3991, allocations: 134.2 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3992, allocations: 11.95 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.3992, allocations: 20.34 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3992, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3993, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3993, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.3997, allocations: 196.5 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3997, allocations: 3.984 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3999, allocations: 31.97 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3999, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3999, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3999, allocations: 7.922 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3999, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.4006, allocations: 386.5 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.4006, allocations: 11.95 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4006, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.4008, allocations: 31.95 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.4009, allocations: 7.984 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4009, allocations: 8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001107/0.401, allocations: 115.2 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.401, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002894/0.4013, allocations: 23.95 kB / 1.332 GB, free: 11.08 MB / 1.029 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.001052/0.4023, allocations: 0.9146 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00057/0.4029, allocations: 164 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4029, allocations: 0 / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.4032, allocations: 99.84 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.4035, allocations: 11.94 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.4068, allocations: 1.977 MB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.4072, allocations: 0.7137 MB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.686e-05/0.4073, allocations: 27.97 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/0.4074, allocations: 31.42 kB / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4074, allocations: 0 / 1.336 GB, free: 7.004 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.4389, allocations: 2.835 MB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.7, allocations: 16.09 kB / 1.339 GB, free: 4.301 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.8318065518979]