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.001864/0.001864, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002489/0.002489, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.608/1.608, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.116/3.116, allocations: 0.5003 GB / 0.8026 GB, free: 6.754 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="cs",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.002036/0.002036, allocations: 68.09 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.159, allocations: 179 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002263/1.162, allocations: 0.7734 MB / 1.341 GB, free: 15.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001062/1.163, allocations: 0.86 MB / 1.342 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/1.163, allocations: 9.719 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002295/1.163, allocations: 56.92 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/1.163, allocations: 35.91 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.079e-05/1.163, allocations: 17.91 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/1.163, allocations: 89.61 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/1.163, allocations: 18.48 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.073e-05/1.164, allocations: 47.14 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/1.164, allocations: 84.59 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/1.164, allocations: 11.31 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/1.164, allocations: 7.656 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-05/1.164, allocations: 41.56 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/1.164, allocations: 49.2 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/1.164, allocations: 114.2 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.164, allocations: 0.6094 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.164, allocations: 0 / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.164, allocations: 1.281 kB / 1.342 GB, free: 14.91 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.0008222/1.165, allocations: 474.9 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.165, allocations: 9.625 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/1.165, allocations: 2.031 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/1.165, allocations: 37.8 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/1.165, allocations: 14.55 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/1.165, allocations: 205.2 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/1.165, allocations: 5.875 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/1.165, allocations: 7.344 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/1.166, allocations: 152.4 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.166, allocations: 0 / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/1.166, allocations: 5.094 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.166, allocations: 1.531 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/1.166, allocations: 177.2 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/1.167, allocations: 0.4952 MB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/1.168, allocations: 164.5 kB / 1.344 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/1.168, allocations: 93.28 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/1.168, allocations: 1.375 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.168, allocations: 36.45 kB / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/1.168, allocations: 0 / 1.344 GB, free: 13.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001005/1.169, allocations: 288.5 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/1.169, allocations: 79.06 kB / 1.345 GB, free: 13.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/1.169, allocations: 166.3 kB / 1.345 GB, free: 13.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.169, allocations: 31.42 kB / 1.345 GB, free: 13.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/1.169, allocations: 103.4 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/1.169, allocations: 30.77 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/1.169, allocations: 25.05 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/1.169, allocations: 325.7 kB / 1.345 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/1.17, allocations: 75.53 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/1.17, allocations: 97.59 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/1.17, allocations: 168.3 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.17, allocations: 1.406 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005779/1.171, allocations: 207.3 kB / 1.346 GB, free: 12.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.171, allocations: 5.5 kB / 1.346 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.171, allocations: 2.031 kB / 1.346 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.171, allocations: 4 kB / 1.346 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/1.171, allocations: 34.81 kB / 1.346 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/1.171, allocations: 1.375 kB / 1.346 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/1.171, allocations: 35.44 kB / 1.346 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/1.171, allocations: 1.375 kB / 1.346 GB, free: 12.58 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 9.348e-05/1.171, allocations: 136 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/1.172, allocations: 10.06 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/1.172, allocations: 17.92 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.172, allocations: 1.984 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.172, allocations: 1.375 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.172, allocations: 5.031 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/1.172, allocations: 226.5 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.172, allocations: 5.875 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/1.172, allocations: 37.16 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.172, allocations: 1.375 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/1.172, allocations: 1.375 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.172, allocations: 2.172 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.172, allocations: 0 / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/1.173, allocations: 390.3 kB / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/1.173, allocations: 89.7 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/1.173, allocations: 2.188 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.173, allocations: 26.08 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/1.173, allocations: 11.91 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/1.173, allocations: 2.906 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.182e-05/1.173, allocations: 122.6 kB / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.173, allocations: 0 / 1.347 GB, free: 11.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002825/1.173, allocations: 23.91 kB / 1.347 GB, free: 11.74 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.0008564/1.174, allocations: 0.9094 MB / 1.348 GB, free: 10.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006333/1.175, allocations: 175.7 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.175, allocations: 0 / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000291/1.175, allocations: 83.8 kB / 1.348 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/1.176, allocations: 15.69 kB / 1.348 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/1.178, allocations: 1.979 MB / 1.35 GB, free: 9.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/1.179, allocations: 0.7106 MB / 1.351 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.501e-05/1.179, allocations: 27.8 kB / 1.351 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/1.179, allocations: 33.77 kB / 1.351 GB, free: 8.719 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.179, allocations: 1.406 kB / 1.351 GB, free: 8.719 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/1.202, allocations: 2.739 MB / 1.353 GB, free: 8.254 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/9.755, allocations: 6.594 kB / 1.353 GB, free: 8.254 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.75211031397339]