Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00184/0.00184, allocations: 103.6 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002384/0.002384, allocations: 213.2 kB / 22.24 MB, free: 5.242 MB / 14.72 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.386/3.386, allocations: 0.4893 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003203/0.003203, allocations: 68.83 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3817, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002471/0.3841, allocations: 0.7549 MB / 1.326 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3854, allocations: 0.8549 MB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.3855, allocations: 3.938 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.3857, allocations: 59.81 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.3858, allocations: 35.81 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.985e-05/0.3859, allocations: 19.92 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3861, allocations: 91.75 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3862, allocations: 15.98 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.968e-05/0.3863, allocations: 43.89 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.3865, allocations: 83.72 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.3865, allocations: 8 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.3865, allocations: 8 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.3866, allocations: 39.83 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.3867, allocations: 43.78 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3869, allocations: 115.8 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3869, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3869, allocations: 0 / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3869, allocations: 4 kB / 1.327 GB, free: 160 kB / 1.014 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.0009128/0.3878, allocations: 387.6 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3879, allocations: 8.031 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.3879, allocations: 46.73 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.388, allocations: 12.84 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3882, allocations: 142.4 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.3882, allocations: 12.31 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3882, allocations: 4.375 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.3886, allocations: 159.7 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3886, allocations: 3.938 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3886, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3887, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000565/0.3892, allocations: 175.8 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.3901, allocations: 464 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.3905, allocations: 165.1 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.3908, allocations: 101.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3908, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3909, allocations: 30.56 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.3909, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0009314/0.3918, allocations: 285.4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3919, allocations: 81.09 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.392, allocations: 164.4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.392, allocations: 25.7 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.3921, allocations: 112.1 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3922, allocations: 23.75 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.3922, allocations: 25.72 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3924, allocations: 326.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.3926, allocations: 75.92 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.3929, allocations: 97.56 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.3934, allocations: 173.6 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3934, allocations: 3.938 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005892/0.394, allocations: 205.4 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.394, allocations: 4 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.394, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.3941, allocations: 4 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3943, allocations: 31.95 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.3943, allocations: 4 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3944, allocations: 35.84 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3944, allocations: 0 / 1.33 GB, free: 12.61 MB / 1.029 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.0001216/0.3946, allocations: 134.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.3946, allocations: 11.95 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.3947, allocations: 24.28 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3947, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3947, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3947, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.395, allocations: 188.6 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.395, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3952, allocations: 35.95 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.3952, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3952, allocations: 8.469 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3952, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3952, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.3959, allocations: 382.5 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.3959, allocations: 15.92 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.396, allocations: 8 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.3962, allocations: 19.97 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.3962, allocations: 11.98 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3962, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001124/0.3963, allocations: 121.9 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3963, allocations: 0 / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003049/0.3967, allocations: 23.95 kB / 1.331 GB, free: 11.55 MB / 1.029 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.00107/0.3977, allocations: 0.9068 MB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.3983, allocations: 167.8 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3983, allocations: 4 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.3986, allocations: 91.86 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3989, allocations: 11.98 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.4019, allocations: 1.985 MB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4021, allocations: 92.19 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.4022, allocations: 31.95 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.4022, allocations: 27.44 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.4022, allocations: 0 / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.4322, allocations: 3.275 MB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.86, allocations: 2.234 kB / 1.338 GB, free: 4.965 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.136689230799675]