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.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.001393/0.001393, allocations: 105.8 kB / 17.54 MB, free: 4.781 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.001413/0.001413, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.341/1.341, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.526/2.526, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001789/0.001789, allocations: 67.89 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.807, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001757/0.8087, allocations: 0.7828 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007697/0.8095, allocations: 0.8309 MB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.8095, allocations: 1.25 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.8097, allocations: 58.09 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.8098, allocations: 39.38 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.92e-05/0.8099, allocations: 17.75 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.81, allocations: 89.72 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8101, allocations: 16.44 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.8102, allocations: 46.98 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.8104, allocations: 84.06 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.8104, allocations: 7.562 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.084e-05/0.8104, allocations: 16.19 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.8105, allocations: 37.02 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.8105, allocations: 45.38 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.8107, allocations: 113.8 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8107, allocations: 0.9062 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8107, allocations: 0 / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8107, allocations: 0 / 1.274 GB, free: 6.422 MB / 0.9981 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.0006471/0.8113, allocations: 473.1 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.8114, allocations: 15.3 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.915e-05/0.8114, allocations: 38.19 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.8114, allocations: 14.42 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.8116, allocations: 207.5 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.8116, allocations: 6.938 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.8116, allocations: 3.312 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.8119, allocations: 152 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.812, allocations: 8.719 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.812, allocations: 0.6875 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.812, allocations: 2.188 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.8125, allocations: 171.3 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006658/0.8131, allocations: 0.4933 MB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.8135, allocations: 156.7 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.8138, allocations: 92.23 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.8138, allocations: 2.469 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.8138, allocations: 40.12 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.8138, allocations: 0 / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0008457/0.8146, allocations: 289 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.8147, allocations: 80.59 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.8148, allocations: 163.8 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.8148, allocations: 25.7 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.8148, allocations: 108.5 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.8149, allocations: 34.8 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.8149, allocations: 22.08 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.8149, allocations: 325 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.8152, allocations: 82.81 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.8154, allocations: 88.89 kB / 1.277 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.8159, allocations: 181.1 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8159, allocations: 0 / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005302/0.8164, allocations: 208.5 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8164, allocations: 5.375 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.8164, allocations: 3.094 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.8165, allocations: 1.062 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.8166, allocations: 36.02 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.8167, allocations: 5.188 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.8168, allocations: 29.33 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.8168, allocations: 6.312 kB / 1.277 GB, free: 4.09 MB / 0.9981 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 6.677e-05/0.8169, allocations: 128.6 kB / 1.277 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.8169, allocations: 12.03 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.817, allocations: 22.08 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.817, allocations: 2.188 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.817, allocations: 0.8125 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.817, allocations: 0 / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.8172, allocations: 223.6 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8172, allocations: 0.75 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.8174, allocations: 38.78 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8174, allocations: 0 / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.8174, allocations: 1.5 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.8174, allocations: 8.188 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8174, allocations: 4 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.8179, allocations: 381.2 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.8179, allocations: 90.58 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.818, allocations: 2.156 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.8181, allocations: 25.52 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.8182, allocations: 6.484 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.8182, allocations: 6.812 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.8183, allocations: 125.2 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8183, allocations: 0 / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002602/0.8185, allocations: 24.53 kB / 1.278 GB, free: 3.262 MB / 0.9981 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.0007375/0.8193, allocations: 0.9167 MB / 1.279 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.8198, allocations: 170.9 kB / 1.279 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8198, allocations: 3.938 kB / 1.279 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.8201, allocations: 92 kB / 1.279 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.8204, allocations: 15.92 kB / 1.279 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.823, allocations: 1.977 MB / 1.281 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.8233, allocations: 0.71 MB / 1.282 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.465e-05/0.8234, allocations: 27.5 kB / 1.282 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.8234, allocations: 34.53 kB / 1.282 GB, free: 16.23 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/0.8234, allocations: 3.938 kB / 1.282 GB, free: 16.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.8487, allocations: 2.674 MB / 1.285 GB, free: 15.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.718, allocations: 8.609 kB / 1.285 GB, free: 15.78 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.074186482999721]