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.001276/0.001276, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 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.00167/0.00167, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.049/1.049, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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 2.08/2.08, allocations: 0.5046 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001003/0.001003, allocations: 71.88 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.7617, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001706/0.7634, allocations: 0.7498 MB / 1.353 GB, free: 0.9062 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.7642, allocations: 0.8587 MB / 1.354 GB, free: 36 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.7643, allocations: 0 / 1.354 GB, free: 36 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.7645, allocations: 59.8 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.7645, allocations: 35.83 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 8.412e-05/0.7646, allocations: 19.97 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.7647, allocations: 95.69 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.7649, allocations: 11.98 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.3e-05/0.7649, allocations: 39.84 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.7651, allocations: 91.75 kB / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.7651, allocations: 8 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.7651, allocations: 8 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.7652, allocations: 31.91 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.7652, allocations: 39.8 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.7653, allocations: 121.7 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.7654, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7654, allocations: 4 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.7654, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 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.0006408/0.766, allocations: 393.6 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.7661, allocations: 12.92 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.7661, allocations: 42.73 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.7661, allocations: 12.89 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.7663, allocations: 145 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.7663, allocations: 4.375 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.7663, allocations: 4.375 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.7666, allocations: 155.8 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7666, allocations: 3.938 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.7667, allocations: 4 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.7667, allocations: 0 / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.767, allocations: 167.8 kB / 1.356 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.7676, allocations: 468 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.7678, allocations: 153.1 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.7679, allocations: 97.66 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.768, allocations: 4 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.768, allocations: 30.56 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.768, allocations: 4 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0004928/0.7685, allocations: 289.3 kB / 1.357 GB, free: 13.37 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.7685, allocations: 81.09 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.7686, allocations: 162.2 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.7686, allocations: 25.7 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.7687, allocations: 108.1 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.7687, allocations: 27.75 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.7687, allocations: 25.66 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.7688, allocations: 326.8 kB / 1.357 GB, free: 12.58 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.769, allocations: 75.92 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.7691, allocations: 97.62 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.7693, allocations: 169.5 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7693, allocations: 4 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002952/0.7696, allocations: 209.4 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7696, allocations: 4 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.393e-06/0.7697, allocations: 0 / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.7697, allocations: 0 / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.7698, allocations: 35.95 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7698, allocations: 4 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.7699, allocations: 35.89 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.7699, allocations: 0 / 1.358 GB, free: 11.94 MB / 1.042 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 8.422e-05/0.77, allocations: 131.2 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.77, allocations: 11.91 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.77, allocations: 24.34 kB / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.77, allocations: 0 / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.77, allocations: 0 / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.77, allocations: 0 / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.7702, allocations: 192.6 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7702, allocations: 0 / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.7703, allocations: 39.89 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.7703, allocations: 0 / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.7704, allocations: 8 kB / 1.358 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7704, allocations: 0 / 1.358 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.7704, allocations: 4 kB / 1.358 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.7707, allocations: 375 kB / 1.359 GB, free: 11.1 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.7707, allocations: 11.91 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.7707, allocations: 8 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.7708, allocations: 19.97 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.771, allocations: 15.92 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.771, allocations: 3.984 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.561e-05/0.7711, allocations: 130.7 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7711, allocations: 4 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000181/0.7713, allocations: 19.94 kB / 1.359 GB, free: 10.89 MB / 1.042 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.0005519/0.7718, allocations: 0.9107 MB / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.7722, allocations: 172.1 kB / 1.36 GB, free: 9.785 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7722, allocations: 0 / 1.36 GB, free: 9.785 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.7723, allocations: 91.8 kB / 1.36 GB, free: 9.695 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.7726, allocations: 25.64 kB / 1.36 GB, free: 9.672 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.7743, allocations: 1.968 MB / 1.362 GB, free: 7.613 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.3e-05/0.7743, allocations: 92.19 kB / 1.362 GB, free: 7.504 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.364e-05/0.7744, allocations: 31.95 kB / 1.362 GB, free: 7.473 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.7745, allocations: 31.44 kB / 1.362 GB, free: 7.441 MB / 1.042 GB Notification: Performance of SimCode: time 7.02e-07/0.7745, allocations: 0 / 1.362 GB, free: 7.441 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08341/0.8579, allocations: 3.272 MB / 1.365 GB, free: 4.316 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.895, allocations: 6.125 kB / 1.365 GB, free: 4.316 MB / 1.042 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.961382335983217]