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.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.001641/0.001641, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001476/0.001476, allocations: 219 kB / 23.03 MB, free: 4.945 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_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.002088/0.002088, allocations: 62.36 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3643, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002401/0.3667, allocations: 0.7516 MB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3679, allocations: 0.8589 MB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.368, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.3682, allocations: 59.8 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.866e-05/0.3683, allocations: 35.83 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.312e-05/0.3684, allocations: 19.97 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3685, allocations: 87.81 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.3687, allocations: 13.34 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3688, allocations: 51.81 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.369, allocations: 87.78 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.369, allocations: 8 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.011e-05/0.369, allocations: 8 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.3691, allocations: 35.91 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.3692, allocations: 39.72 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3693, allocations: 115.1 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3694, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3694, allocations: 4 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.3694, allocations: 0 / 1.286 GB, free: 8.492 MB / 0.9825 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.000922/0.3703, allocations: 397.7 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3703, allocations: 8.031 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.529e-05/0.3703, allocations: 192 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3704, allocations: 38.69 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.3704, allocations: 12.84 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3707, allocations: 163.5 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3707, allocations: 4.375 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3707, allocations: 4.375 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.3711, allocations: 155.6 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3711, allocations: 0 / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3712, allocations: 0 / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3712, allocations: 4 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.3717, allocations: 175.8 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009011/0.3726, allocations: 464 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.3731, allocations: 161.1 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.3733, allocations: 97.72 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3734, allocations: 3.938 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3734, allocations: 38.56 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3734, allocations: 0 / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0009336/0.3743, allocations: 281.3 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.3744, allocations: 85.05 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.3746, allocations: 160 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3747, allocations: 29.7 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.3747, allocations: 104.1 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.3748, allocations: 31.73 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.3748, allocations: 25.7 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.375, allocations: 326.8 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3753, allocations: 75.92 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.3755, allocations: 93.64 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.376, allocations: 173.6 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.376, allocations: 0 / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005794/0.3766, allocations: 197.4 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3766, allocations: 11.98 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3766, allocations: 4 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3767, allocations: 0 / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3769, allocations: 35.97 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3769, allocations: 3.984 kB / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.377, allocations: 23.91 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3771, allocations: 4 kB / 1.289 GB, free: 4.938 MB / 0.9825 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.0001283/0.3772, allocations: 133.8 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.3772, allocations: 11.91 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.3773, allocations: 20.34 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3773, allocations: 7.984 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3773, allocations: 0 / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3773, allocations: 0 / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.3776, allocations: 184.5 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3776, allocations: 0 / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.3778, allocations: 39.95 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3778, allocations: 480 / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3778, allocations: 4 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3778, allocations: 4 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3778, allocations: 4 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.3785, allocations: 398.4 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.3785, allocations: 7.953 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3785, allocations: 0 / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.3787, allocations: 31.95 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.3788, allocations: 7.984 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3788, allocations: 4 kB / 1.29 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001056/0.3789, allocations: 126.5 kB / 1.29 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3789, allocations: 0 / 1.29 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002817/0.3792, allocations: 19.94 kB / 1.29 GB, free: 3.883 MB / 0.9825 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.0009911/0.3802, allocations: 0.9068 MB / 1.291 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000559/0.3807, allocations: 168.1 kB / 1.291 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3807, allocations: 0 / 1.291 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.381, allocations: 87.92 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3814, allocations: 15.97 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.3844, allocations: 1.978 MB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3845, allocations: 96.17 kB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.967e-05/0.3846, allocations: 27.97 kB / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.3847, allocations: 35.42 kB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.3847, allocations: 0 / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.4099, allocations: 2.898 MB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.79, allocations: 12.84 kB / 1.297 GB, free: 13.69 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.81745576800313]