Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008183/0.0008183, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 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.0009091/0.0009091, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.9131/0.9131, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.926/1.926, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.909e-05, allocations: 2.281 kB / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001209/0.001228, allocations: 0.7525 MB / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.001988, allocations: 0.8509 MB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.002049, allocations: 3.938 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.002245, allocations: 55.8 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.002294, allocations: 35.83 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.653e-05/0.00237, allocations: 23.97 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.002489, allocations: 95.62 kB / 1.003 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.002624, allocations: 11.98 kB / 1.003 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.235e-05/0.002717, allocations: 51.89 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.002855, allocations: 75.89 kB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.002882, allocations: 15.88 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.002896, allocations: 8 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.00297, allocations: 39.89 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.003013, allocations: 31.91 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.003163, allocations: 115.7 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003165, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003165, allocations: 3.938 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.00317, allocations: 0 / 1.003 GB, free: 11.3 MB / 0.9636 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.0005487/0.003719, allocations: 385.7 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.003756, allocations: 17.34 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.003791, allocations: 38.73 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.003818, allocations: 16.84 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.003963, allocations: 144.2 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.003972, allocations: 8.312 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.003984, allocations: 4.375 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.004231, allocations: 147.9 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004238, allocations: 192 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.004248, allocations: 12.31 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.004254, allocations: 4.125 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002742/0.004528, allocations: 167.8 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.005035, allocations: 464 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.005278, allocations: 165 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.005421, allocations: 86.56 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.005432, allocations: 7.984 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.00545, allocations: 34.56 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.005451, allocations: 4 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0005043/0.005955, allocations: 277.4 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.005993, allocations: 81.11 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006096, allocations: 167 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.006109, allocations: 25.7 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.006157, allocations: 104 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.006184, allocations: 31.73 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.006219, allocations: 21.72 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.006305, allocations: 322.8 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.006434, allocations: 75.92 kB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.006567, allocations: 97.58 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.006819, allocations: 169.9 kB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006821, allocations: 0 / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003026/0.007124, allocations: 225.3 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.007136, allocations: 6.344 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.00714, allocations: 0 / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.007151, allocations: 0 / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.007266, allocations: 39.95 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.007273, allocations: 8.141 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.007338, allocations: 27.95 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.007344, allocations: 0 / 1.006 GB, free: 7.754 MB / 0.9636 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.253e-05/0.007417, allocations: 125.8 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.007444, allocations: 19.83 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.007471, allocations: 16.34 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.007474, allocations: 7.938 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007478, allocations: 0 / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.00748, allocations: 0 / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.007661, allocations: 196.6 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.007662, allocations: 3.938 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.007739, allocations: 31.95 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007742, allocations: 4 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.007749, allocations: 0 / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.00775, allocations: 0 / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007751, allocations: 0 / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.008091, allocations: 382.5 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.008102, allocations: 15.95 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.008117, allocations: 7.984 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.008213, allocations: 19.97 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.00826, allocations: 11.98 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.008264, allocations: 0 / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.008324, allocations: 131.3 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008324, allocations: 4 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001794/0.008503, allocations: 19.94 kB / 1.007 GB, free: 6.703 MB / 0.9636 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.0005163/0.00902, allocations: 0.9068 MB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.00932, allocations: 171.8 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009322, allocations: 0 / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.00947, allocations: 91.86 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.009716, allocations: 16 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.01144, allocations: 1.969 MB / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.275e-05/0.0115, allocations: 92.31 kB / 1.01 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.457e-05/0.01156, allocations: 31.94 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.01161, allocations: 40.44 kB / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01161, allocations: 0 / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07516/0.08677, allocations: 3.419 MB / 1.014 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.822, allocations: 6.188 kB / 1.014 GB, free: 15.97 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.45466242171824]