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.001737/0.001737, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002096/0.002096, allocations: 221.5 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.965 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.93/2.93, allocations: 476.7 MB / 0.7707 GB, free: 4.223 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_11_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.002123/0.002123, allocations: 66.44 kB / 1.117 GB, free: 39.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3671, allocations: 170 MB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002133/0.3692, allocations: 0.7793 MB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3703, allocations: 0.8628 MB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.3704, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.3706, allocations: 51.81 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.3707, allocations: 43.81 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.148e-05/0.3707, allocations: 19.97 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.3709, allocations: 91.7 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.371, allocations: 15.98 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.3711, allocations: 43.89 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3713, allocations: 87.77 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3713, allocations: 11.94 kB / 1.285 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.3713, allocations: 12 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.3714, allocations: 35.91 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.3714, allocations: 43.72 kB / 1.285 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3716, allocations: 115 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3716, allocations: 3.938 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3716, allocations: 0 / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3716, allocations: 0 / 1.286 GB, free: 9.012 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.0007625/0.3724, allocations: 393.7 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3724, allocations: 8.031 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.3725, allocations: 38.73 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.3725, allocations: 12.84 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3727, allocations: 154.2 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3727, allocations: 4.375 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3727, allocations: 4.375 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.3732, allocations: 159.7 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3732, allocations: 3.938 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3732, allocations: 0 / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3732, allocations: 0 / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.3737, allocations: 171.8 kB / 1.286 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/0.3745, allocations: 479.9 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.3749, allocations: 161.1 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.3752, allocations: 93.67 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3752, allocations: 7.938 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3752, allocations: 34.56 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.3752, allocations: 0 / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0008732/0.3761, allocations: 285.3 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3762, allocations: 81.11 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3763, allocations: 160.7 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3763, allocations: 29.7 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3764, allocations: 108.1 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.3764, allocations: 27.75 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.3765, allocations: 25.7 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3767, allocations: 322.8 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.3769, allocations: 79.92 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.3772, allocations: 89.64 kB / 1.288 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.3776, allocations: 181.9 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3776, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000541/0.3782, allocations: 201.5 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3782, allocations: 4 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3782, allocations: 0 / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3782, allocations: 7.984 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.3784, allocations: 35.91 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3784, allocations: 4 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.3786, allocations: 31.91 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3786, allocations: 7.938 kB / 1.289 GB, free: 5.441 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.0001224/0.3787, allocations: 134.6 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.3788, allocations: 11.95 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.3788, allocations: 16.34 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3788, allocations: 0 / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3788, allocations: 0 / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3788, allocations: 3.984 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.3791, allocations: 200.5 kB / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3791, allocations: 0 / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3793, allocations: 39.91 kB / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3793, allocations: 0 / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3793, allocations: 7.984 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3793, allocations: 0 / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3793, allocations: 4 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.3799, allocations: 378.5 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.3799, allocations: 7.953 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.38, allocations: 8 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.3802, allocations: 23.95 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.3802, allocations: 11.98 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3802, allocations: 3.938 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.5e-05/0.3803, allocations: 126.8 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3803, allocations: 0 / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002827/0.3806, allocations: 23.94 kB / 1.29 GB, free: 4.391 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.0009388/0.3815, allocations: 0.907 MB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.3821, allocations: 175.8 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3821, allocations: 0 / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.3824, allocations: 91.86 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3827, allocations: 8 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.3856, allocations: 1.971 MB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3859, allocations: 0.7196 MB / 1.294 GB, free: 388 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.919e-05/0.386, allocations: 23.97 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.3861, allocations: 35.42 kB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3861, allocations: 0 / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4154, allocations: 2.835 MB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 7.188 kB / 1.296 GB, free: 13.62 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.593499266076833]