Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 106.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 79.88 kB / 1.056 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8074, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002942/0.8103, allocations: 0.7628 MB / 1.214 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.8119, allocations: 0.8326 MB / 1.215 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.812, allocations: 1.156 kB / 1.215 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.8123, allocations: 62.28 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.8124, allocations: 34.84 kB / 1.215 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.8125, allocations: 18.12 kB / 1.215 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.8127, allocations: 89.97 kB / 1.215 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.8129, allocations: 15.36 kB / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.813, allocations: 52.8 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.8133, allocations: 87.36 kB / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.8133, allocations: 7.594 kB / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.8133, allocations: 8.406 kB / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.8134, allocations: 35.19 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.8135, allocations: 44.59 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.8138, allocations: 120.1 kB / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8138, allocations: 1.125 kB / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8138, allocations: 0 / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.8138, allocations: 0 / 1.215 GB, free: 2.254 MB / 0.92 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.001256/0.815, allocations: 474 kB / 1.216 GB, free: 1.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.8151, allocations: 9.719 kB / 1.216 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.8152, allocations: 36.52 kB / 1.216 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.8152, allocations: 15.22 kB / 1.216 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.8156, allocations: 210.5 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.8156, allocations: 2.562 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.8156, allocations: 8.812 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.8163, allocations: 144.7 kB / 1.216 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.8163, allocations: 3.938 kB / 1.216 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.8163, allocations: 1.125 kB / 1.216 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.8163, allocations: 5.078 kB / 1.216 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.8173, allocations: 171.1 kB / 1.216 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.8186, allocations: 0.5078 MB / 1.217 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.8192, allocations: 155.4 kB / 1.217 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.8196, allocations: 96.39 kB / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.8196, allocations: 5.109 kB / 1.217 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.8197, allocations: 33 kB / 1.217 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.873e-06/0.8197, allocations: 3.938 kB / 1.217 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001469/0.8211, allocations: 289.5 kB / 1.217 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.8212, allocations: 82.64 kB / 1.217 GB, free: 436 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.8215, allocations: 163.5 kB / 1.217 GB, free: 304 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.8215, allocations: 30.73 kB / 1.217 GB, free: 268 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.8216, allocations: 104.9 kB / 1.218 GB, free: 164 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.8217, allocations: 35.23 kB / 1.218 GB, free: 132 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.8217, allocations: 20.25 kB / 1.218 GB, free: 112 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.822, allocations: 326 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.8224, allocations: 76.48 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.8228, allocations: 91.3 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.8237, allocations: 168.3 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8237, allocations: 5 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009541/0.8246, allocations: 213.8 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8246, allocations: 4.906 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8247, allocations: 1.156 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.8247, allocations: 1.094 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.825, allocations: 34.48 kB / 1.218 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.825, allocations: 5.062 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.8253, allocations: 25.66 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.8253, allocations: 6.656 kB / 1.219 GB, free: 15.47 MB / 0.9356 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.0001645/0.8254, allocations: 130.2 kB / 1.219 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.8255, allocations: 9.203 kB / 1.219 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.158e-05/0.8256, allocations: 24.73 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8256, allocations: 1.156 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8256, allocations: 1.062 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8256, allocations: 5.156 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.8261, allocations: 230.9 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.8262, allocations: 0 / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.8265, allocations: 34.7 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.8265, allocations: 1.031 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.8265, allocations: 1.031 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.8265, allocations: 1.094 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8265, allocations: 1.594 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.8275, allocations: 384.1 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.8276, allocations: 92.28 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.8277, allocations: 1.031 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.828, allocations: 29.5 kB / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.8281, allocations: 8.234 kB / 1.219 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.8281, allocations: 6.281 kB / 1.219 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001608/0.8283, allocations: 124.9 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8283, allocations: 1.125 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005205/0.8288, allocations: 26.94 kB / 1.22 GB, free: 14.52 MB / 0.9356 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.001571/0.8304, allocations: 0.9081 MB / 1.22 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009564/0.8313, allocations: 177.5 kB / 1.221 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8313, allocations: 0 / 1.221 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.8318, allocations: 86.61 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.8325, allocations: 20.89 kB / 1.221 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.8372, allocations: 1.978 MB / 1.223 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.8377, allocations: 0.713 MB / 1.223 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.8378, allocations: 29.67 kB / 1.223 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.8379, allocations: 27.69 kB / 1.223 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of SimCode: time 7.92e-07/0.8379, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.865, allocations: 2.711 MB / 1.226 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.94, allocations: 5.141 kB / 1.226 GB, free: 9.805 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.825522663071752]