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.0008345/0.0008345, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007903/0.0007903, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9329/0.9329, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.364e-05, allocations: 9.312 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001276/0.001299, allocations: 0.7534 MB / 0.9513 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008832/0.002182, allocations: 0.8471 MB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.002238, allocations: 0 / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.002416, allocations: 63.73 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.002466, allocations: 35.77 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.634e-05/0.002542, allocations: 23.97 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.002643, allocations: 91.75 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.002754, allocations: 15.97 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.622e-05/0.00283, allocations: 51.89 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.002943, allocations: 79.83 kB / 0.9525 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.002969, allocations: 8 kB / 0.9525 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.002979, allocations: 8 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.003035, allocations: 35.91 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.003068, allocations: 23.92 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003195, allocations: 135.5 kB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003197, allocations: 4 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.984e-06/0.003199, allocations: 0 / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003203, allocations: 0 / 0.9527 GB, free: 1.25 MB / 0.9011 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.0005035/0.003706, allocations: 381.7 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.003744, allocations: 15.97 kB / 0.9531 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.003776, allocations: 38.69 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.0038, allocations: 20.84 kB / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.003936, allocations: 149.6 kB / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.003944, allocations: 384 / 0.9533 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.003956, allocations: 8.375 kB / 0.9533 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.004208, allocations: 147.8 kB / 0.9534 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.004215, allocations: 192 / 0.9534 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.004226, allocations: 8.375 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004233, allocations: 4.125 kB / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.004512, allocations: 167.8 kB / 0.9536 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.005016, allocations: 464 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.005257, allocations: 169.1 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.005398, allocations: 89.67 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.005413, allocations: 4 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.005435, allocations: 34.56 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.005436, allocations: 0 / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0005007/0.005937, allocations: 285.3 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.005976, allocations: 81.11 kB / 0.9547 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.006077, allocations: 166 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.00609, allocations: 29.7 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.006139, allocations: 100.1 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.006169, allocations: 35.72 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.006204, allocations: 21.72 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.006292, allocations: 326.8 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.006434, allocations: 75.92 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.006568, allocations: 97.64 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.006827, allocations: 173.5 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.006829, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002998/0.007129, allocations: 209.4 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.007144, allocations: 10.5 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.00715, allocations: 3.938 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.007164, allocations: 0 / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.007286, allocations: 39.95 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.007295, allocations: 0 / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.007362, allocations: 27.97 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.007369, allocations: 0 / 0.9559 GB, free: 13.71 MB / 0.9167 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 7.596e-05/0.007445, allocations: 129.8 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.007472, allocations: 11.89 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.007501, allocations: 20.8 kB / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.007504, allocations: 4 kB / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.007509, allocations: 0 / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007512, allocations: 0 / 0.9561 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.007692, allocations: 188.5 kB / 0.9563 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007694, allocations: 0 / 0.9563 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.401e-05/0.007778, allocations: 47.88 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.00778, allocations: 4 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.007788, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007789, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00779, allocations: 0 / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.008126, allocations: 383.2 kB / 0.9567 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.008139, allocations: 15.84 kB / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.008155, allocations: 8 kB / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.008255, allocations: 23.95 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.008304, allocations: 11.98 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.008308, allocations: 0 / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.284e-05/0.008371, allocations: 128.9 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008371, allocations: 0 / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001901/0.008561, allocations: 16 kB / 0.9569 GB, free: 12.66 MB / 0.9167 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.0005505/0.009111, allocations: 0.903 MB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.009445, allocations: 171.7 kB / 0.9579 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.009447, allocations: 0 / 0.9579 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.009586, allocations: 91.86 kB / 0.958 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.009863, allocations: 16.3 kB / 0.958 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.01166, allocations: 1.973 MB / 0.9599 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.887e-05/0.01173, allocations: 100.3 kB / 0.96 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.895e-05/0.01178, allocations: 23.97 kB / 0.9601 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.01185, allocations: 36.48 kB / 0.9601 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.01185, allocations: 0 / 0.9601 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.02865, allocations: 3.421 MB / 0.9634 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/6.72, allocations: 0 / 0.9634 GB, free: 5.941 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.728466832078993]